当一个URL重定向到另一个URL时,Facebook Open Graph对象的规范URL是什么?

时间:2016-09-01 17:06:59

标签: facebook facebook-graph-api

网址http://doi.org/10.5555/12345678重定向到http://psychoceramics.labs.crossref.org/10.5555-12345678.html

Facebook Graph API认为它们是相同的(它们具有相同的ID)。

https://graph.facebook.com/v2.7/http://doi.org/10.5555/12345678?access_token=XXXX

{
  og_object: {
    id: "10150995451832648",
    title: "Toward a Unified Theory of High-Energy Metaphysics: Silly String Theory",
    type: "website",
    updated_time: "2016-08-25T01:23:00+0000"
  },
  share: {
    comment_count: 0,
    share_count: 3
  },
  id: "http://doi.org/10.5555/12345678"
}

https://graph.facebook.com/v2.7/http://psychoceramics.labs.crossref.org/10.5555-12345678.html?access_token=XXXX

{
  og_object: {
    id: "10150995451832648",
    title: "Toward a Unified Theory of High-Energy Metaphysics: Silly String Theory",
    type: "website",
    updated_time: "2016-08-25T01:23:00+0000"
  },
  share: {
    comment_count: 0,
    share_count: 3
  },
  id: "http://psychoceramics.labs.crossref.org/10.5555-12345678.html"
}

有没有办法找到Facebook认为两者的规范网址?

使用内省(即通过metadata=1)似乎并没有提供任何相关的内容。

0 个答案:

没有答案