【问题标题】:How to specify an Twitter endpoint using Tweepy如何使用 Tweepy 指定 Twitter 端点
【发布时间】:2020-03-06 01:45:51
【问题描述】:

我正在使用 tweepy 尝试从特定用户那里获取历史推文,例如“IBM” 在 TwitterAPI 我可以使用

api = TwitterAPI(consumer_key, consumer_secret, access_token_key, access_token_secret)
end_point = 'tweets/search/30day/:development'
param = {'query': 'from:IBM', 'maxResults':'500'}
r = TwitterPager(api, end_point, param)

指定终点。我想知道如何在 Tweepy 中做类似的事情。

【问题讨论】:

    标签: python-3.x twitter tweepy twitterapi-python


    【解决方案1】:

    Tweepy 无法做到这一点。 tweets/search/30day 是高级搜索端点。 Tweepy 不支持高级搜索 API。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-06-16
      • 1970-01-01
      • 1970-01-01
      • 2015-01-22
      • 2020-02-02
      • 2022-12-10
      • 2016-07-29
      相关资源
      最近更新 更多