【问题标题】:Twitter search API response?Twitter 搜索 API 响应?
【发布时间】:2019-03-13 22:18:03
【问题描述】:

我无法理解,为什么 "retweeted": false,即使 "retweet_count": 2?还是转推指向其他内容?

示例 API 响应:

  "retweet_count": 2,
  "retweeted": false,
  "retweeted_status": {
    "contributors": null,
    "coordinates": null,
    "created_at": "Wed Sep 26 10:47:11 +0000 2018",
    "display_text_range": [
      0,
      90
    ],
    "entities": {
      "hashtags": [
        {
          "indices": [
            83,
            90
          ],
          "text": "ESMO18"
        }
      ],
      "symbols": [],
      "urls": [],
      "user_mentions": [
        {
          "id": 69232855,
          "id_str": "69232855",
          "indices": [
            12,
            19
          ],
          "name": "ESMO - Eur. Oncology",
          "screen_name": "myESMO"
        }
      ]
    }

完整回复:https://pastebin.com/QpQKb7ZM

【问题讨论】:

标签: twitter sttwitterapi


【解决方案1】:

这令人困惑 - 让我解释一下。

retweeted 属性是验证用户是否转发了该特定推文。

所以,如果你转发了我的推文,然后查看那条推文,你会看到 "retweeted": true,

它真的应该被称为has_authenticating_user_retweeted_this :-)

【讨论】:

    猜你喜欢
    • 2015-03-31
    • 2018-04-08
    • 2019-05-18
    • 1970-01-01
    • 1970-01-01
    • 2016-05-15
    • 2014-07-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多