Pregunta

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
¿Fue útil?

Solución

use retweets instead of retweeters

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top