亚伯拉罕/ twitteroauth无法在实体->网址中看到[展开]对象

时间:2018-09-27 12:31:07

标签: php twitter twitter-oauth

我正在使用abraham / twitteroauth作为Twitter提要。一切都按预期正常运行,只是无法获得开发人员网站上Twitter上说明的[展开]对象。

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)
        }
      }
    }
  }

在开发人员网站的Twitter中,我看不见了。但是在我的var_dump中我找不到。

{"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
        ]
      }
    ]
}

也许有一些想法?感谢帮助!:)

0 个答案:

没有答案