If you have put your WordPress site in the Facebook debugger you may have seen the following error:
This error is due to your site not having a Facebook app ID associated with it. To fix the missing Facebook App ID error from showing up on your website you’ll need to do the following:
1. Create a Facebook App
First you’ll need to head to the Facebook Developer portal to make a free Facebook App: https://developers.facebook.com/apps/
Once on the developer portal over over “My Apps” on the top right and click “Create App”.
Here you can put in your contact information and name for the App (typically your website name).
After you make your app you have to ensure it’s live and not in development mode.
2. Make Sure Your Facebook App is Live
When you first create your Facebook App you’ll see that it is in development mode on top.
3. Use Yoast SEO to Set fb:app_id
Simply head to SEO/Social
Once you’re on this page head to the Facebook tab and you’ll see an option to paste your Facebook App ID.
If your Facebook App is live and you did everything correctly after saving the page you’ll see no error.
Now that you’ve successfully added your Facebook App ID to your site ensure your site’s cache is cleared and test the site again in the Facebook Debugger.
If the page is cached in Facebook you may have to click “Scrape Again” for Facebook to retest your page.
After that your error for the missing: fb:app_id should be resolved!
If you have any questions let me know in the comments below.