twitter - 可以访问转推的时间戳吗?

标签 twitter

我正在尝试使用 Twitter API:GET statuses/retweets/:id https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-statuses-retweets-id

API 似乎不会返回推文被转发的时间。它仅显示创建时间。这是真的?如果是这样,是否有任何其他方法能够检索转推时间戳?

最佳答案

来自 Introduction to Tweet JSON :

If you are working with a Retweet object, then that object will contain two Tweet objects, complete with two User objects. The Tweet that was Retweeted is referred to as the 'original' Tweet and is displayed under the 'retweeted_status' key. If a Retweet gets Retweeted, the 'retweet_status' will still point to the original Tweet, meaning the intermediate Retweet is not included.

顶级 created_at 属性应该是您要查找的转推时间。原始推文作为 retweeted_status 嵌入到转推对象中,并且它有自己的(较早的)时间戳。

关于twitter - 可以访问转推的时间戳吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47685337/

相关文章:

twitter - 如何在桌面应用程序中使用 Spring Social Twitter?

java - 在 Android 中发布到 Twitter

javascript - onclose/onunload 在新窗口 (window.open) 中用于外部 url

javascript - 如何获取推文的年龄?

android - twitter4j 是否为传入的直接消息提供事件监听器?

hadoop - 如何通过水槽将 Twitter 数据通过代理提供给 hdfs?

android - com.twitter.sdk.android.core.TwitterApiException : 401 Authorization Required

ios - 使用 Twitter 登录 Quickblox 时出现身份验证数据错误

r - R 中的 Twitter 身份验证

javascript - 如何在 Twitter 上使用 OAuth 设置源参数?