سؤال

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