json 链接帖子的Facebook响应对象(示例)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 链接帖子的Facebook响应对象(示例)相关的知识,希望对你有一定的参考价值。

{
  "id": "100006989444393_2104617929781168",
  "message": "Scrapey McTest 2",
  "created_time": "2018-05-22T18:34:01+0000",
  "attachments": {
    "data": [
      {
        "description": "Cable can totally defeat Thanos ... at good storytelling.",
        "media": {
          "image": {
            "height": 600,
            "src": "https://external.xx.fbcdn.net/safe_image.php?d=AQDa0esyVOTgxHXq&w=600&h=600&url=https%3A%2F%2Ffsmedia.imgix.net%2F0a%2Feb%2F90%2F9d%2F293d%2F4235%2Fa334%2Fae430600ddf9%2Fjosh-brolins-cable-is-way-cooler-than-josh-brolins-thanos.jpeg%3Frect%3D0%252C60%252C1280%252C640%26fm%3Dpng%26w%3D1200&cfs=1&sx=0&sy=0&sw=600&sh=600&_nc_hash=AQDVKnp7svcCvGj0",
            "width": 600
          }
        },
        "target": {
          "url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.inverse.com%2Farticle%2F45064-cable-in-deadpool-2-is-way-better-than-thanos-in-infinity-war&h=ATNg7QYhKXnYpFd8lmF33CDlTWJ8IVxuTqDRc_sinhuMAANjwpUG7jM_cWLDjYWqTb3N4GlVSjavGCOUCP76pYKnrRFmNJxPv1QVoKgof5WyscM&s=1"
        },
        "title": "Brolin vs. Brolin: How Cable in 'Deadpool 2' Beats Thanos in 'Infinity War'",
        "type": "share",
        "url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.inverse.com%2Farticle%2F45064-cable-in-deadpool-2-is-way-better-than-thanos-in-infinity-war&h=ATNg7QYhKXnYpFd8lmF33CDlTWJ8IVxuTqDRc_sinhuMAANjwpUG7jM_cWLDjYWqTb3N4GlVSjavGCOUCP76pYKnrRFmNJxPv1QVoKgof5WyscM&s=1"
      }
    ]
  },
  "caption": "inverse.com",
  "from": {
    "name": "Beastie McTest",
    "id": "100006989444393"
  },
  "full_picture": "https://external.xx.fbcdn.net/safe_image.php?d=AQDPeCasOLVyLmiY&url=https%3A%2F%2Ffsmedia.imgix.net%2F0a%2Feb%2F90%2F9d%2F293d%2F4235%2Fa334%2Fae430600ddf9%2Fjosh-brolins-cable-is-way-cooler-than-josh-brolins-thanos.jpeg%3Frect%3D0%252C60%252C1280%252C640%26fm%3Dpng%26w%3D1200&_nc_hash=AQCXXOE5MoX9POlR",
  "link": "https://www.inverse.com/article/45064-cable-in-deadpool-2-is-way-better-than-thanos-in-infinity-war",
  "name": "Brolin vs. Brolin: How Cable in 'Deadpool 2' Beats Thanos in 'Infinity War'",
  "permalink_url": "https://www.facebook.com/100006989444393/posts/2104617929781168",
  "picture": "https://external.xx.fbcdn.net/safe_image.php?d=AQBGNt_9beaxtulD&w=130&h=130&url=https%3A%2F%2Ffsmedia.imgix.net%2F0a%2Feb%2F90%2F9d%2F293d%2F4235%2Fa334%2Fae430600ddf9%2Fjosh-brolins-cable-is-way-cooler-than-josh-brolins-thanos.jpeg%3Frect%3D0%252C60%252C1280%252C640%26fm%3Dpng%26w%3D1200&cfs=1&sx=0&sy=0&sw=600&sh=600&_nc_hash=AQDrsvtySlwS27gY",
  "privacy": {
    "allow": "",
    "deny": "",
    "description": "Your friends",
    "friends": "",
    "value": "ALL_FRIENDS"
  },
  "status_type": "shared_story",
  "timeline_visibility": "normal",
  "updated_time": "2018-05-22T18:34:01+0000",
  "application": {
    "category": "Utilities",
    "link": "https://coschedule.com/",
    "name": "CoSchedule App",
    "namespace": "coschedule",
    "id": "138104159699759"
  }
}

以上是关于json 链接帖子的Facebook响应对象(示例)的主要内容,如果未能解决你的问题,请参考以下文章

显示 Facebook 链接帖子的缩略图

UILabel 中的按钮/链接以切换到另一个 ViewController

Facebook 如何发布 json 并在 iframe 中加载响应?

html 使用JSON获取Facebook页面最新帖子

如何使用 Java 返回部分 JSON 响应?

如何仅使用帖子 ID 与 FBWebDialogs 共享 Facebook 帖子?