Refresh meta data in posted URL

前端 未结 5 2119
悲哀的现实
悲哀的现实 2020-12-29 23:30

In Facebook, when I post the link http://wisdomuniversity.org, Fascebook includes old metadata (Title, description, etc.). I recently added Open Graph Protocol meta tags, bu

5条回答
  •  星月不相逢
    2020-12-29 23:59

    As of the end of 2016, the way to programmatically notify Facebook of changes in your URL and have it scrape it again is by submitting a POST to this URL:

    https://graph.facebook.com/?id={YOUR_URL}&scrape=true
    

    Earlier ways, some noted on this page, have been deprecated. This is documented here:

    The Facebook crawler will re-scrape (and therefore update) objects:

    • When the object URL is input in the Object Debugger Every 30 days
    • after the first scrape When an app triggers a scrape using an API
    • endpoint This Graph API endpoint is simply a call to:

    POST /?id={object-instance-id or object-url}&scrape=true

    The response from this endpoint will be a JSON object that contains all the information about the object that was scraped (the same data returned when the Object ID is read from the Graph API).

    The id parameter can be either the canonical URL of your object or the ID of the object instance in the graph.

提交回复
热议问题