filter

jetpack_sharing_facebook_app_id

Filter the App ID used in the official Facebook Share button.

Parameters

$fb_app_id
int

Facebook App ID. Default to 249643311490 (WordPress.com's App ID).

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can use this filter to use your own Facebook App ID in the Facebook button included in Jetpack:
function jeherve_custom_fb_app_id() {
    return '190102077773016'; // Use your own App ID here
}
add_filter( 'jetpack_sharing_facebook_app_id', 'jeherve_custom_fb_app_id' );
To create your own Facebook app, you can go here: https://developers.facebook.com/apps/