You are here

public function OAuthRequest::to_postdata in jQuery social stream 8

Same name and namespace in other branches
  1. 8.2 src/Twitter/OAuthRequest.php \Drupal\jquery_social_stream\Twitter\OAuthRequest::to_postdata()

builds the data one would send in a POST request

1 call to OAuthRequest::to_postdata()
OAuthRequest::to_url in src/Twitter/OAuthRequest.php
builds a url usable for a GET request

File

src/Twitter/OAuthRequest.php, line 202

Class

OAuthRequest

Namespace

Drupal\jquery_social_stream\Twitter

Code

public function to_postdata() {
  return OAuthUtil::build_http_query($this->parameters);
}