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?
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
Is there any improvement if you upgrade to Jetpack 8.9.1?
I believe the problem happens before you have multiple App IDs on your site:
- One is added by your Facebook Pixel code
- 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.
- 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://ww.wp.xz.cn/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.