• I seem to be experiencing errors with OpenGraph scraping since the latest update of WP-Super-Cache.

    When my article is submitted to Facebook when publishing the server is returning a 412 error code, preventing the title, image and description from being scraped.

    If I turn off the cache it works fine and was working correctly before the latest update

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried using the debug log? Does it show any errors when the Facebook bot visits?

    Thread Starter vincepettit

    (@vincepettit)

    Can’t seem to find any specific, I’ve uploaded a copy of the log to https://drive.google.com/file/d/0B4fDHCnpcn2TSFJEemctdW9HcDg/view?usp=sharing

    The story in question is http://www.thecheckeredflag.co.uk/2017/07/godfrey-claims-double-victory-mondello-park/

    FB’s sharing Debugger is saying Response code 412 and giving me the following warnings:

    Bad Response Code
    URL returned a bad HTTP response code.
    Missing Required Property
    The ‘og:type’ property is required, but not present.
    Inferred Property
    The ‘og:url’ property should be explicitly provided, even if a value can be inferred from other tags.
    Share App ID Missing
    The ‘fb:app_id’ property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.
    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.

    Thread Starter vincepettit

    (@vincepettit)

    Just to confirm, I’ve switched back to 1.5.0 and this issue doesn’t happen

    There were very minor changes made to the plugin between 1.5.0 and 1.5.1 – mostly to do with supporting old versions of PHP and WordPress.

    Maybe it was just bad luck that the error happened, or did it happen multiple times? Did you try clearing the cache of the page, of a cache file existed?

    Thread Starter vincepettit

    (@vincepettit)

    It’s happened multiple times since the update (pretty much every time we posted), tired clearing cache and various other fixes but issue always seemed to be present.

    Since the switch back to 1.5.0 it seems to working fine at the moment.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Facebook OpenGraph – 412 Error code since upgrade’ is closed to new replies.