douzong2206 2018-09-27 12:31
浏览 11

abraham / twitteroauth无法在entities-> urls中看到[unwound]对象

i am using abraham/twitteroauth for twitter feed. Everything works normal as expected, just cannot get [unwound] object as explained on twitter for developers website.

object(stdClass)#7 (25) {

  ["entities"]=>
  object(stdClass)#16 (4) {

    ["urls"]=>
    array(1) {
      [0]=>
      object(stdClass)#17 (4) {
        ["url"]=>
        string(23) "link"
        ["expanded_url"]=>
        string(73) "https://www.invisionapp.com/blog/7-ted-talks-every-designer-should-watch/"
        ["display_url"]=>
        string(33) "invisionapp.com/blog/7-ted-tal…"
        ["indices"]=>
        array(2) {
          [0]=>
          int(46)
          [1]=>
          int(69)
        }
      }
    }
  }

In Twitter for developers website i see unwound. But in my var_dump i cant find.

{"urls": [
      {
        "url": "link",
        "expanded_url": "link",
        "display_url": "link",
        "unwound": {
          "url": "https://www.youtube.com/watch?v=oHg5SJYRHA0",
          "status": 200,
          "title": "RickRoll'D",
          "description": "http://www.facebook.com/rickroll548 As long as trolls are still trolling, the Rick will never stop rolling."
        },
        "indices": [
          62,
          85
        ]
      }
    ]
}

Maybe have some ideas ? Appreciate for help!:)

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
    • ¥15 错误 LNK2001 无法解析的外部符号
    • ¥50 安装pyaudiokits失败
    • ¥15 计组这些题应该咋做呀
    • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
    • ¥15 让node服务器有自动加载文件的功能
    • ¥15 jmeter脚本回放有的是对的有的是错的
    • ¥15 r语言蛋白组学相关问题