访问推文注释通过Tweepy

发布于 2025-02-10 07:00:43 字数 376 浏览 3 评论 0原文

我正在使用Python Library Tweepy,以便从Twitter API V2中提取数据。 API还具有提供Tweet注释的选项,这基本上是Tweet中使用的某些元素的分类。 (端点和文档的文档可在: https://开发者。

我的问题是,是否有一种方法可以通过Tweepy调用此端点?还是有另一种方法可以使用Tweepy访问单词自动分类?

I'm using the python library tweepy in order to extract data from the twitter api v2.
The api also possesses the option to provide tweet annotations, which are basically categorization of certain elements used in the tweet. (The endpoint and documentation of this is available at: https://developer.twitter.com/en/docs/twitter-api/annotations/overview).

My question would be if there is a way to call this endpoint via tweepy? Or is there another way to access the automatic categorization of words using tweepy?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

誰ツ都不明白 2025-02-17 07:00:43

tweepy

 tweepy.Tweet.context_annotations

”给您想要的信息。

From the tweepy documentations:

 tweepy.Tweet.context_annotations

should give you the infos you want.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文