If you have put your WordPress site in the Facebook debugger you may have seen the following error:
To fix the missing Facebook App ID error from showing up you’ll need to do the following.
1. Create a Facebook App
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.