开发者

Twitter API call retweets_of_me

开发者 https://www.devze.com 2022-12-21 03:47 出处:网络
Can I get the info from the twitter API call \"statuses/retweets_of_me\" that who retweeted me? Above call only returns the 20 most recent tweets by me which have been retweeted by \"???\"..

Can I get the info from the twitter API call "statuses/retweets_of_me" that who retweeted me? Above call only returns the 20 most recent tweets by me which have been retweeted by "???"..

How to get this information? Obviously I'd like to kn开发者_开发百科ow about the least RATE API Limit consuming way :)


http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweets

above api call will tell the retweeted details for the given status.

So in order to get full information to get "retweets of me".

first call statuses/retweetes_of_me to get the the status ids of me which were retweeted and then use the above method call (check the URL) to get the retweeted_details for the given tweet id.

Strange, as it clashes with the Rate Limit API calls.


I have this same issue, the only thing I can figure out is to do user_timeline:

https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

with : include_rts = true -- I dont think this works properly on 1.0, going to try it on 1.1

Getting the who part, you need to call:

for each tweet https://dev.twitter.com/docs/api/1.1/get/statuses/retweets/id and check the user Only 15 per window.

See this thread for background...https://dev.twitter.com/discussions/14145


You can use the count optional parameter to return up to 200 retweets of you..

http://api.twitter.com/1/statuses/retweets_of_me.xml?count=200

These will be tweets of yours that have been retweeted by others.

Or am I misunderstanding what you are needing? If so, can you explain a little more as to what data you are expecting to receive?

0

精彩评论

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

关注公众号