【问题标题】:How to get count of shares on Facebook for given Instagram Photo through API?如何通过 API 获取给定 Instagram 照片在 Facebook 上的分享数?
【发布时间】:2015-11-04 19:52:03
【问题描述】:

众所周知,可以将 Instagram 上的照片分享到 Facebook。我想问您是否有API方式如何获取此类股票的数量?

有什么想法吗?

提前感谢您的提示!

雅库布

【问题讨论】:

    标签: facebook-graph-api instagram-api


    【解决方案1】:

    您可以使用/?id(分别为URL)端点:

    表示请求看起来像

    GET /?id=https://instagram.com/p/9q0-tUuSyL/
    

    返回

    {
      "og_object": {
        "id": "960618280676059",
        "type": "website",
        "updated_time": "2015-11-04T16:14:14+0000",
        "url": "https://instagram.com/p/9q0-tUuSyL/"
      },
      "share": {
        "comment_count": 0,
        "share_count": 13
      },
      "id": "https://instagram.com/p/9q0-tUuSyL/",
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多