Search code examples
wordpressfacebook-likefacebook-opengraph

Updating the thumbnail image within the Facebook send button


I want to update the thumbnail image that Facebook send button uses. I realize that this is cached by Facebook and am trying to update the cache using the debugger tool

I tried using http://domain.com/path_to_image.jpg?fbrefresh=CAN_BE_ANYTHING on the debugger tool

However, the old image is still displayed. It appears that the image is being stored at https://fbexternal-a.akamaihd.net/safe_image.php?id=path_to_image/image.jpg

Any ways to clear the cache since fbrefresh=CAN_BE_ANYTHING is not working or am i typing in the wrong url ?

I have also tried adding <meta property="og:image" content="http://domain.com/new_image.jpg"/> in my header.php file (I am using Wordpress)

Any idea as to why the image is not updated / cache not cleared?


Solution

  • The image gets refreshed after a day by the above procedure.

    Again, go to the debugger tool

    Type in http://domain.com/path_to_image.jpg?fbrefresh=CAN_BE_ANYTHING