• Resolved silentsooty

    (@silentsooty)


    Hello

    It appears that when trying to share the results of my quiz to Facebook it is picking up an invalid Facebook App ID which is coming from somewhere within Jetpack. I am unable to trace where this APP ID is coming from, can anyone assist?

    Many Thanks
    Dan

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support fresatomica

    (@fresatomica)

    Hi Dan,

    Can you tell us some more details? Where exactly do you see the invalid Facebook App ID and why do you think it’s coming from Jetpack?
    The only Facebook info Jetpack might have from you would be coming from Publicize. Do you have the correct account connected?

    Thread Starter silentsooty

    (@silentsooty)

    Hi

    WP Rocket investigated it for me as initially, I thought it was linked to my caching but they advised the following:

    Checking your unoptimized/uncached page, I can find the following reference:

    https://i.vgy.me/QiRpM6.png

    It seems to be coming from Jetpack – jetpack-facebook-embed-js-extra

    I have temporarily removed the correct Facebook id from my Quiz settings as I need it working whilst I am currently running a promotion.

    Regards
    Dan

    Plugin Contributor James Huff

    (@macmanx)

    Is there any improvement if you upgrade to Jetpack 8.9.1?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I believe the problem happens before you have multiple App IDs on your site:

    1. One is added by your Facebook Pixel code
    2. Another is added by the Facebook Widget provided by Jetpack. For this widget, we define our own App ID so everyone can add the widget to their own site without having to create an app on Facebook.
    3. Another is added in the middle of your post content, in a Facebook Page plugin you’ve inserted there using the app ID 973129142804697.

    We can help you change the app ID used by the Jetpack widget. To do so, you’ll need to add the following code snippet to your site:

    
    /**
     * Use own Facebook App ID with Jetpack's Facebook widget.
     *
     * @see https://www.ads-software.com/support/topic/facebook-app-id-13/
     */
    add_filter( 'jetpack_sharing_facebook_app_id', function() { return '457655571318537'; } );
    

    (note that I’ve re-used the app ID you had used for your Facebook Pixel code in the snippet above).

    On your end, I would recommend updating the Facebook Page plugin you’ve added to your post content as well.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Facebook App ID’ is closed to new replies.