javascript - migrating twitter api1.0 to 1.1 json data access issue -


twitter changing api create problem in mobile app contain twitter feed ,
issue is: responsedata not parsing ext js. here www.jsfiddle.net/9ksbz old code(working) code twitter api 1

i got data in json , access data using

data.results works fine before realizing of twitter rest api 1.1
not working new twitter api

my code 1.1 www.jsfiddle.net/hbeul/1/" same use in twitter api 1.1 not working, how can deal data.. use php oauth twitter.
***note: code not full understand issue

you can't make requests new twitter 1.1 api using client-side code more. only client-side stuff can basic widgets.

you need make authenticated requests, using server-side language now. limitation , choice of new v1.1 api, , you'll able results in json, no more xml / rss.

the issue isn't code, it's twitter api - need authenticated requests (oauth).

here's example for, if using php server-side language of choice, steps required make authenticated requests on curl.


Comments