Facebook debugger: why complaining about app_id missing

FacebookFacebook Graph-Api

Facebook Problem Overview


While using the facebook debugger, it complains:

> Warning fb:app_id hasn't been included in the meta tags. Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog. Otherwise, the default app id( 966242223397117 ) will be assigned.

I don't understand why I have such a message, since I don't have an app_id for my website, and I shouldn't need why since I'm not doing any facebook connect or using any of their plugin.

Am I missing something, or is it simply that facebook wants to push me to create an app for my website?

Facebook Solutions


Solution 1 - Facebook

You need to add this into your head tag in HTML source

<meta property="fb:app_id" content="XXXXXXXXXXXXXXX" />

That is default app id.

Replace XXX With your app id

Solution 2 - Facebook

If you don't have an app to associate the website to, then that warning can be ignored.

For an example of a successful website which doesn't have a fb:app_id included, you can run a debug on this stackoverflow page's URL within the Facebook Object debugger, you will see that it also produces the same warning message.

The posts themselves will generally appear the same as they are represented at the bottom of the debugger tool.

Solution 3 - Facebook

This means your page is missing the fb:app_id meta tag.

> Missing Properties The following required properties are missing: fb:app_id

You must use the fb prefix (the og prefix won't work!)

The meta tag should look like this (replace the app id "474629550209194" below with your own)

<meta property="fb:app_id" content="474629550209194">

The meta tag is fb:app_id - og:app_id (open graph) won't work.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAugustin RiedingerView Question on Stackoverflow
Solution 1 - FacebookBuntyView Answer on Stackoverflow
Solution 2 - FacebookPaulieTreeView Answer on Stackoverflow
Solution 3 - FacebookstevecView Answer on Stackoverflow