How to clear Facebook as cache info

Does anyone know how to clear the cached information that Facebook uses for the Like button?

I need to be able to clear multiple pages at once, making the perfect solution for the entire site.

This is the website: http://www.stayin-yorkshire.net/

+4
source share
2 answers

If you run your pages through a Facebook listing, it will clear the cache and clear your pages again.

http://developers.facebook.com/tools/debug

If you have a list of all the pages on your site, you can programmatically send each URL to a Facebook lister, which is easier than entering them all into:

curl http://developers.facebook.com/tools/lint/?url={YOUR_URL}&format=json 
+8
source

In addition to the Facebook Debug Tool associated with DPS, there is a scraper API endpoint that allows you to program a request to update the URL of your object

For more information, see Using Self -Updated Objects - This includes an HTTP POST request for

https://graph.facebook.com/?id=<OBJECT ID OR URL>&scrape=true - to avoid fast speed limits, you should also include a valid access token with the request and slowly execute requests for a long period of time to avoid overloading a scraper or your own server.

+6
source

Source: https://habr.com/ru/post/1382360/


All Articles