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
有帮助吗?

解决方案

use retweets instead of retweeters

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top