开发者

Getting the anatomy of Twitters Json response

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜