• Resolved ninatedesco

    (@ninatedesco)


    Hello,

    I’ve updated the Homepage social image (”og:image”) both on “SEO Settings > Homepage Settings > Social” and also directly on the page edit. However, the Facebook debugger Tool keeps showing the previously assigned photo for some reason. Also, it doesn’t detect the fb app id, which I have added via SEO Settings > Social Meta > Facebook.

    I have flushed cache many times. Also tried de-activating any caching plugins, and practically all plugins, including those that might be blocking the Facebook Crawler for security reasons: nothing seems to work, the ”og:image” simply doesn’t update and keeps showing an outdated picture. The new image dimensions are as suggested: 1200px x 630px.

    As I stated, the problem is on the homepage, I have shared the link via this topic’s initial form.

    Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    Facebook keeps a cache of all shared pages for a long time. It’s stubborn, but you can manually invalidate it. Please try this:

    1. Go here: https://developers.facebook.com/tools/debug/sharing/
    2. Fill in the URL you wish to invalidate.
    3. Hit the blue “Debug” button.
    4. Hit the grey “Scrape Again” button.

    Then, Facebook scrapes new information from the page to cache.

    I hope this does the trick! Cheers ??

    Thread Starter ninatedesco

    (@ninatedesco)

    Hello & thanks for your response. I have used the Facebook debugger Tool many many times, and it keeps showing the previously assigned photo.
    I have tried all the alternate options that I also explained before like emptying cache, de-activating plugins, etc.
    I appreciate any guidance on why ‘The SEO Framework’ settings are not reflecting on Facebook Debugger Tool.
    Thanks in advance.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    I’m afraid I must be the bearer of bad news. It seems that Facebook retains the older version of your page, no matter what we try. This is because they read the NGINX expires header, which is set to “now + 4 weeks.”

    From Facebook’s FAQ, under Why and when does Facebook scrape my website?:

    Facebook observes cache headers on your URLs – it will look at Expires and Cache-Control in order of preference. However, even if you specify a longer time, Facebook will scrape your page every 30 days.

    There, they also state that they invalidate the cache after 30 days–regardless of what the expires header is set to.

    So, I’m sad to inform you that you’ll need to wait for 30 days.

    Ultimately, you may want to set the expires header to a shorter interval, optimize it based on your recurring-traffic load. I don’t think it should be set to more than 30 minutes for most websites. This will also prevent issues like these with Facebook in the future.

    I hope this helps!

    Thread Starter ninatedesco

    (@ninatedesco)

    Hello again & Thank you for your response,

    So what you mean is that any website trying what I’m doing is getting this same issue?

    Or conversely, if I can fix this issue by simply setting the expires header to a value under 30 minutes and trying scraping again?

    Thank you in advance.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    I just tested a few websites without the Expires header, and they work without issues.

    So, yes, I recommend setting it to a much lower value so that you won’t run into this issue again. For now, I’m afraid Facebook won’t flush the data (and image) for a few weeks on your site ??

    When you hit the “See exactly what our scraper sees for your URL” link at the bottom of Facebook’s debugger, you’ll find that it’s showing an old version of your homepage.

    When Facebook finally clears that, they should also start respecting the new headers.

    I hope this clears it all up. Have a great weekend!

    Thread Starter ninatedesco

    (@ninatedesco)

    Hello! Thank you for your response. I will try setting the expires header to a lower value (under 30 minutes) and get back to you ASAP.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘FB Social image not updating’ is closed to new replies.