public function OAuthRequest::to_url in jQuery social stream 8
Same name and namespace in other branches
- 8.2 src/Twitter/OAuthRequest.php \Drupal\jquery_social_stream\Twitter\OAuthRequest::to_url()
builds a url usable for a GET request
1 call to OAuthRequest::to_url()
- OAuthRequest::__toString in src/
Twitter/ OAuthRequest.php
File
- src/
Twitter/ OAuthRequest.php, line 190
Class
Namespace
Drupal\jquery_social_stream\TwitterCode
public function to_url() {
$post_data = $this
->to_postdata();
$out = $this
->get_normalized_http_url();
if ($post_data) {
$out .= '?' . $post_data;
}
return $out;
}