python - 有什么方法可以使用 tweepy 检索推文事件

标签 python twitter tweepy

有什么方法可以通过使用 tweepy(或者任何其他用于 python 的 twitter 库)来检索我自己推文的推文事件(印象数、总参与度)。

我正在使用这个简单的代码,但我找不到任何方法来检索推文事件:

import tweepy

auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)

api = tweepy.API(auth)

最佳答案

恐怕此功能对Engagement API 可用仅适用于企业/企业帐户

The Engagement API provides access to Tweet impression and engagement metrics.

关于python - 有什么方法可以使用 tweepy 检索推文事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38368633/

相关文章:

python - 使用 Tweepy 按位置对推文进行排序

python - 绘制 f(x,y) = z = min(x,y) 创建 2D 三角形而不是 3D 曲面

python - 如何使用 xlsWriterr 逐行获取输出

android - 推特数字-android : exception 403 error:239

android - 如何在 Android 中通过 Twitter 分享链接?

javascript - 我无法让 Divs 中的 3 个 Twitter 小部件彼此相邻排列?

python - 使用 tweepy 发送 mp4 文件

python - 在 Tweepy 中关注用户

python - 编写一个 pytest 函数来检查输出到 python 中的文件?

python - StreamCodec 与 Python 中的 Codec 有何不同?