function TwitterOAuth::get in Tweet Feed 7
Same name and namespace in other branches
- 6 inc/twitter-oauth.inc \TwitterOAuth::get()
- 7.3 inc/twitter-oauth.inc \TwitterOAuth::get()
- 7.2 inc/twitter-oauth.inc \TwitterOAuth::get()
GET wrapper for oAuthRequest.
File
- inc/
twitter-oauth.inc, line 141
Class
- TwitterOAuth
- Twitter OAuth class
Code
function get($url, $parameters = array()) {
$response = $this
->oAuthRequest($url, 'GET', $parameters);
if ($this->format === 'json' && $this->decode_json) {
return json_decode($response);
}
return $response;
}