[WordPress] How to resolve Facebook Sharing Debugger 'The following properties are required: fb:app_id' error

Tadashi Shigeoka ·  Tue, August 27, 2019

Here’s how to resolve the The following properties are required: fb:app_id error from Facebook Sharing Debugger on WordPress sites.

WordPress | ワードプレス

Premise) fb:app_id error in Facebook Sharing Debugger

When debugging this site’s URL with Facebook Sharing Debugger, the following error occurred:

Issues That Must Be Fixed

Missing Properties The following properties are required: fb:app_id

Facebook Sharing Debugger fb:app_id required

This article introduces the steps to resolve this fb:app_id error.

Creating Privacy Policy page

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

Creating Facebook app to get fb:app_id

To get fb:app_id, I obtained a Facebook App ID by referring to the article WordPressのOGP設定に必要なFacebookアプリIDの作成手順 – HERO Biz.

Setting fb:app_id in Yoast SEO

Since I’m using the WordPress plugin Yoast SEO, I’ll use this to set the Facebook App ID.

Facebook App ID | Yoast SEO

Final check) No errors in Facebook Sharing Debugger

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.

Facebook Sharing Debugger No Error

That’s all from the Gemba.