• Resolved emamyers

    (@emamyers)


    Hello!

    I have been trying for a while now to troubleshoot why the Jetpack plug-in’s “Publicize” feature seems to not be working for Facebook. The other social media seem to share as they should. My client and I have gone through the motions of the forums and support site saying to reconnect and adjust certain settings within Facebook, but we still can’t seem to get it to work.

    The support site for the Publicize feature guided me to the FB Debugging website:

    https://jetpack.com/support/publicize/facebook/

    You can see what Facebook sees and check for errors by entering one of your posts’ URLs inFacebook Debugger.

    If the debugger reports an error, you’ll need to fix it for Publicize to start working again.

      A common error is a duplicate set of Open Graph meta tags. In such cases, the solution would be to make sure you only use one plugin to manage Open Graph tags.
      Another error can be a wrong Facebook Admin ID. In such cases, start by looking for your current admin ID, and then update your Open Graph plugin to use the correct value.
      Some themes also manage Open Graph meta tags for you. If that’s the case, you’ll need to edit the theme or contact the theme authors to ask them how to remove Open Graph meta data from your theme.

    So I ended up trying this and this was the result:​

    Facebook Debugger
    https://developers.facebook.com/tools/debug/sharing/?q=www.lifeinapile.com

    The support page doesn’t seem to have anything regarding an app_id. But the main page also stated that it may be an Open Graph meta tags issue. I do not fully understand this, how to determine if it is the issue, or to even fix it. The last option says to contact the theme creators to remove the Open Graph meta data from the theme.

    However, I want to be careful not to remove anything important and of course to determine if anything must be removed at all.

    I also submitted the URL through the open graph debugger, but I do not understand the results:

    Open Graphic Object Debugger
    https://developers.facebook.com/tools/debug/og/object/

    I have browsed through a number of forum posts with variations of the same issue. It doesn’t seem like the issue is ever truly solved, or someone’s situation where it is solved is temporary (they come back and post later), or their situation doesn’t match my client’s enough to try and use the solution.

    https://wordpress.org/support/topic/facebook-and-publicize?replies=5
    https://wordpress.org/support/topic/fbadmins- https://wordpress.org/support/topic/publicize-broken-again-after-update”>and-fbapp-id-missing-in-add-meta-tags?replies=3
    https://wordpress.org/support/topic/publicize-broken-again-after-update
    https://wordpress.org/support/topic/another-jetpack-facebook-sharing-issue
    https://wordpress.org/support/topic/problem-with-facebook-sharing-3?replies=8
    https://wordpress.org/support/topic/still-troubles-with-facebook-publicize?replies=10

    The debuggers seem to be the most promising, but I’m not sure how to act on the results. Many of the forum answers have something to do with another separate plug-in that deals with meta-data, but to my knowledge, there’s only the basic areas like tags, page title and description that are provided by WP when creating a blog post.

    There’s no meta data or SEO plug in or anything. And I searched through the existing ones to see if there might be a similar feature, but I have not come across anything. (I hope I’m simply overlooking).

    Even if I found what I was looking for, I wouldn’t quite know how to fix it as my theme creator mentioned not to tinker too much with the theme code as changes might disappear during updates (I’m not sure if that is isolated to CSS changes…).

    That being said, the facebook debugger gives me the error that the Share ID is missing. One Jetpack contributor mentioned that it was not a major concern and did not quite address it.

    Another provided code to add to the functions.php file but it still did not work:

    function amt_extend_og_metatags( $metatags ) {
        $metatags[] = '<meta property="fb:admins" content="ENTER_USER_ID_HERE" />'; $metatags[] = '<meta property="fb:app_id" content="ENTER_APPID_HERE" />'; return $metatags;
    } add_filter( 'amt_opengraph_metadata_head', 'amt_extend_og_metatags', 10, 1 );

    I’m a bit at a loss here. Is there anything else I can do? Have I misstepped somewhere?

    Thanks so much!! 🙂

    Ema Myers

    https://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter emamyers

    (@emamyers)

    Sorry, the domain is lifeinapile.com

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Hi Ema,

    As you probably discovered in previous forum threads, Publicized posts can be rejected by Facebook if there are any errors in the Open Graph Meta Tags in your posts.

    Jetpack automatically creates these Open Graph Meta tags for you unless you already use another Open Graph plugin, in which case we let the other plugin handle things.

    To check what meta tags are added to your site, you can indeed use Facebook’s Debugger, or you can right-click when looking at one of your posts, and select “View Page Source” to see your post’s source code, and look for Open Graph Meta tags manually.

    When doing that on one of your latest posts, I find 2 sets of Open Graph Meta Tags:

    1. The first one appears right at the top of your source code: http://i.wpne.ws/gauX
    2. The second set appears downer on the page, and as you can see, includes a comment mentioning that these tags are generated by Jetpack: http://i.wpne.ws/gapV

    So we now know what the problem: your posts include 2 sets of tags. Facebook doesn’t like duplicate tags, and will reject your Publicized posts.

    Since Jetpack doesn’t output any meta tags when you use another plugin to manage Open Graph Meta Tags, it means that the first set of tags on your site is most likely added directly into your theme, most likely in the header.php file.

    You now have 2 solutions:

    1. You can remove those tags from your theme by editing your theme files.
    2. You can remove Jetpack’s Open Graph Meta Tags and trust the tags generated by your theme. To remove Jetpack’s Open Graph Meta Tags, you can install this little plugin: http://i.wpne.ws/M7Le

    I hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook Won't Post via Publicize’ is closed to new replies.