Tweepy 游标调用中的 tweet_mode 是什么?
What is the tweet_mode in the Tweepy cursor call?
我正在使用 Tweepy 来使用 Twitter 搜索 API。我发现教程中有一个属性tweet_mode。
tweets = tweepy.Cursor(api.search, q=words, lang="en", result_type = 'popular',
since=date_since, tweet_mode='extended').items(numtweet)
这是什么意思?我在 Twitter API documentation 上找不到。它是 tweepy 特有的吗?
v1.1 API 调用中的 tweet_mode
参数可以检索“扩展”推文的全文(超过 140 个字符,这是推文的原始长度)。 Twitter’s GitHub.
上有关于它的文档
我正在使用 Tweepy 来使用 Twitter 搜索 API。我发现教程中有一个属性tweet_mode。
tweets = tweepy.Cursor(api.search, q=words, lang="en", result_type = 'popular',
since=date_since, tweet_mode='extended').items(numtweet)
这是什么意思?我在 Twitter API documentation 上找不到。它是 tweepy 特有的吗?
v1.1 API 调用中的 tweet_mode
参数可以检索“扩展”推文的全文(超过 140 个字符,这是推文的原始长度)。 Twitter’s GitHub.