Update Facebook Open Graph meta tag through JavaScript

后端 未结 3 998
一生所求
一生所求 2020-12-09 16:37

I\'m trying to update the meta content of the Facebook\'s Open Graph title. I updated the content, but when it published the feed, it\'s still pulling the old information. <

3条回答
  •  無奈伤痛
    2020-12-09 17:00

    Facebook scrapes pages for meta-data only when it is necessary. After you make changes to the metadata, you need to resubmit the object with the 'scrape' parameter set to 'true' in your POST request.

    This is outlined in the Open Graph documentation for updating objects.

提交回复
热议问题