On Mon, Nov 30, 2009 at 00:02, Kirill N <knovitche...@gmail.com> wrote:

> $jsonData = $oAuth->OAuthRequest('https://twitter.com/statuses/
> user_timeline.json', 'GET', array('screen_name' => $_GET
> ['screen_name']));
>

The current version of TwitterOAuth has some modifications so best practice
for the above example would look like this:

$jsonData = $oAuth->get('statuses/user_timeline', array('sreen_name' =>
$_GET['screen_name']));

By default $jsonData will be an array of status objects unless you set
$oauth->json_decode = FALSE;

Abraham

-- 
Abraham Williams | Community Evangelist | http://web608.org
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.

Reply via email to