【问题标题】:trouble integrating twitter api command in python在 python 中集成 twitter api 命令时遇到问题
【发布时间】:2013-06-13 22:01:25
【问题描述】:

我正在尝试在 python 中实现它,但我遇到了困难:

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

这是我所拥有的:

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

【问题讨论】:

标签: python api twitter syntax-error tweets


【解决方案1】:

使用 retweets 而不是转发者

【讨论】:

    猜你喜欢
    • 2017-04-09
    • 1970-01-01
    • 2013-02-21
    • 2016-10-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-02-28
    相关资源
    最近更新 更多