开发者

Getting the anatomy of Twitters Json response

开发者 https://www.devze.com 2023-03-30 17:24 出处:网络
I just started working with Twitter\'s API. Is there a way to find out the anatomy of the returned Json for the Twitter API metho开发者_C百科ds?

I just started working with Twitter's API. Is there a way to find out the anatomy of the returned Json for the Twitter API metho开发者_C百科ds?

It seems you only have the docs for the method but nothing on the format of returned Json (or XML) that would be returned :(

Can anybody help with this? :)

Thanks


using jquery: var jsonObject = $.parseJSON('string of json data');

you can inspect the contents of this object using firebug, etc.

Some older browsers require that you include this function separately: https://github.com/douglascrockford/JSON-js


You could take a look at the console by APIgee

https://apigee.com/episod/embed/console/dev-twitter-com?authTypeVal=oauth1#

it's also available at

https://dev.twitter.com/console

but it's often down


STTwitter includes a Twitter API console for OS X.

0

精彩评论

暂无评论...
验证码 换一张
取 消