How can I force Facebook to purge its cache and use newer meta description of a shared webpage?

前端 未结 1 1935
南方客
南方客 2021-02-05 04:11

Facebook fetches the title and webpage description from the HTML header of the webpage whenever people share a link on Facebook. I realized that [I believe for performance purpo

1条回答
  •  悲&欢浪女
    2021-02-05 04:33

    The best way to do it is by using the Facebook debugger: http://developers.facebook.com/tools/debug Insert your url, let the debugger scrape your page and the cache is cleared.

    UPDATE:

    As DMCS pointed out "some things cannot be updated after X number of likes". Here is the info in more detail taken from the Facebook documentation:

    Note: og:title and og:type are only editable initially - after your page receives 50 likes the title becomes fixed, and after your page receives 10,000 likes the type becomes fixed. These properties are fixed to avoid surprising users who have liked the page already. Changing the title or type tags after these limits are reached does nothing, your page retains the original title and type.

    0 讨论(0)
提交回复
热议问题