是否可以从 Twitter 流端点获取更多信息(例如作者、转推数)?
Possible to get additional information from twitter streaming endpoint (e.g. author, # of retweets)?
如标题所示,我希望从 Twitter 上的流媒体端点找到更多信息。
这是我在 atm 取的东西;
"data": {
"id": "134.......707",
"text": "..."
},
"matching_rules": [
{
"id": 13473....211649,
"tag": ""
}
]
}
我可以指定我想要作者的地方吗?
我使用 Twitter 示例代码作为基础:https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/master/Filtered-Stream/filtered_stream.py
您是否浏览过有关过滤流的 Twitter API 文档?
您可以通过快速入门指南了解如何快速开始使用此端点组:https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
我们还提供了有关如何在此处请求其他字段的详细信息:
https://developer.twitter.com/en/docs/twitter-api/data-dictionary/using-fields-and-expansions
过滤流的 API 参考描述了您可以与这些端点一起使用的所有参数和字段:https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
最后,我们有不同的页面描述如何提取不同类型的内容,例如 Tweet annotations, metrics, and conversation IDs。
如标题所示,我希望从 Twitter 上的流媒体端点找到更多信息。
这是我在 atm 取的东西;
"data": {
"id": "134.......707",
"text": "..."
},
"matching_rules": [
{
"id": 13473....211649,
"tag": ""
}
]
}
我可以指定我想要作者的地方吗?
我使用 Twitter 示例代码作为基础:https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/master/Filtered-Stream/filtered_stream.py
您是否浏览过有关过滤流的 Twitter API 文档?
您可以通过快速入门指南了解如何快速开始使用此端点组:https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
我们还提供了有关如何在此处请求其他字段的详细信息: https://developer.twitter.com/en/docs/twitter-api/data-dictionary/using-fields-and-expansions
过滤流的 API 参考描述了您可以与这些端点一起使用的所有参数和字段:https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/introduction
最后,我们有不同的页面描述如何提取不同类型的内容,例如 Tweet annotations, metrics, and conversation IDs。