Clearing Facebook Sharing URL or other Details


Recently I needed to create a SHARE on Facebook icon to share the URL of my page. Now, facebook uses og:title, og:image, etc meta tags to extract information out of the given URL and generate the share text for the URL. I needed to change the og:title, which is practically the title that comes up when sharing the page. The problem was that Facebook must have cached my URL, and no matter how many times I changed my og:title tag, the old title was being displayed. So this is what I needed to do to tell google to go through my website again in order to enforce and simulate reset cache.

Step 1:

Visit Facebook Developers Debug Tool

Step 2:

Enter the URL you need to reset cache in the text area as shown below:


Step 3:

So by now, step 2 should have done the reset cache job by now. However if you would like to verify and see how Facebook is seeing you site, at the bottom of the resulting page there is a URLs section with an option named “Scraped URL”  with a link “See exactly what our scraper sees for your URL”, click on that link and you will be presenter with the “view source” of your code as seen by Facebook.

Note: If you have red warnings/errors stating, you might want to fix that too while you’re at it, I know I did 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s