[twitter-dev] Return NULL in JSON XML

2010-12-22 Thread smallbighead
There's a problem when I using twitter API about JSON response. Here is the sample code: $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token['oauth_token'], $access_token['oauth_token_secret']); $content = $connection-get('statuses/followers'); When I do this the response

Re: [twitter-dev] Return NULL in JSON XML

2010-12-22 Thread Abraham Williams
JSON is used by default so you should be using $content = $connection-get('statuses/followers'); Abraham - Abraham Williams | Hacker Advocate | abrah.am @abraham https://twitter.com/abraham | github.com/abraham | blog.abrah.am This email is: [ ] shareable [x] ask first [ ] private.