How to scan retweets of a specific user?

I studied the Twitter API Documentation today. Just find that we could use the "Twitter REST API Method: statuses user_timeline" to get the status of a specific user. Retweets are removed from user_timeline for backward compatibility. If I want to enable retweets, the Documentation API recommends "statuses retweeted_by_me", but retweeted_by_me cannot return retweets to other users.

I think maybe we can analyze the Twitter web page of a specific user to get his retweets. However, is there any elegant way to scan retweets for a specific user?

Thanks in advance!

+6
twitter
source share
4 answers

This has been recently reviewed by Twitter developers. Now you can add include_rts=true to your user_timeline call. See the full discussion here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7a4be385ff549ed0

+5
source share

You want to use the retweeted_to_me API call, and then create a union with user_timeline and sort by datetime . It is a little annoying that they do not mix flow for you.

0
source share

Call the statuses / user _timeline for a specific user, then for each state you will need to call either the statuses / id / retweeted _by or the statuses / retweets.

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

0
source share

You need to manually use GET statuses / retweets /: id for each Tweet from use_timeline .

0
source share

All Articles