Frage

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
War es hilfreich?

Lösung

use retweets instead of retweeters

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top