[WordPress] How to resolve Facebook Sharing Debugger 'The following properties are required: fb:app_id' error
Here’s how to resolve the The following properties are required: fb:app_id error from Facebook Sharing Debugger on WordPress sites.
When debugging this site’s URL with Facebook Sharing Debugger, the following error occurred:
Issues That Must Be FixedMissing Properties The following properties are required: fb:app_id
This article introduces the steps to resolve this fb:app_id error.
A privacy policy page is required to issue a Facebook App ID, so create one if you don’t have it.
In my case, I created a privacy policy page based on 【コピペでOK】プライバシーポリシーの書き方|AdSense・Analytics対策 | アフィリエイトで会社の外にも収入源を【liberty-life-blog】.
https://codenote.net/privacy-policy
To get fb:app_id, I obtained a Facebook App ID by referring to the article WordPressのOGP設定に必要なFacebookアプリIDの作成手順 – HERO Biz.
Since I’m using the WordPress plugin Yoast SEO, I’ll use this to set the Facebook App ID.
Finally, use Facebook Sharing Debugger again and click [Scrape Again] to confirm that the error no longer appears.
Be careful to click the [Scrape Again] button, not the [Debug] button, otherwise you won’t get the latest status.
That’s all from the Gemba.