Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #984092
    vickeryhill
    Participant

    I have disabled the themes Open Graph Social settings in the theme so I can use Yoast’s OG settings. All is generally fine BUT I’d like to track social shares from the theme’s social app feature.

    Can you supply my with the AppID for this?

    This is the error I receive from FB Debugger:

    “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.”

    I would have replied to this relevant thread but it is archived.
    https://community.theme.co/forums/topic/tired-of-using-debugger/

    Thanks!

    #984353
    Thai
    Moderator

    Hi There,

    Please add the following code under functions.php file in your child theme:

    add_action( 'wp_head', 'x_wp_head', 5 );
    function x_wp_head(){
      ?>
      <meta property="fb:app_id" content="APPID"/>
      <?php
    }

    Replace APPID with your FB application ID.

    Hope it helps 🙂

    #988472
    vickeryhill
    Participant

    That did the trick. Thanks!

    #988965
    Darshana
    Moderator

    Glad we were able to help 🙂

  • <script> jQuery(function($){ $("#no-reply-984092 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>