Question

I am trying to implement this into python, but I am having difficulty:

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

here is what I have:

def reqs():
    t = Twitter(auth=OAuth('...'))
    tweets = t.statuses.user_timeline.snl()
    retweetids = t.statuses.retweeted_by(id=str(tweets[0]['id']))    <<does not work.
    print retweetids
Was it helpful?

Solution

use retweets instead of retweeters

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top