Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to crawl retweets of a certain user?

Tags:

twitter

I studied the Twitter API Documentation today. Only find that we could use "Twitter REST API Method: statuses user_timeline" to acquire statuses of a certain user. Retweets are stripped out of the user_timeline for backwards compatibility reasons. If I want retweets included, API Documentation recommend "statuses retweeted_by_me", but retweeted_by_me cannot return the retweets by other users.

I think maybe we can analyse the twitter webpage of a certain user to get his retweets. However is there any elegant way to crawl retweets of a certain user?

Thanks in advance!

like image 829
Xiong Avatar asked Mar 21 '10 21:03

Xiong


People also ask

How do you see all retweets of a tweet?

Go to your Notifications tab. There you will see all activity concerning your Tweets—including which have recently been Retweeted and by whom. From the Tweet detail page, you'll be able to see how many Retweets of your Tweet there are, in additon to how many Quote Tweets there are.

Can you retweet a retweet?

And we are very excited to share the results! You can only retweet a tweet once. You could technically undo a retweet and retweet it again (by clicking on the retweet icon twice).


1 Answers

This was addressed recently by the Twitter devs. You can now add a include_rts=true to your call to user_timeline. See the full discussion here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7a4be385ff549ed0

like image 62
arcain Avatar answered Dec 31 '22 18:12

arcain