Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The app ID specified within the "fb:app_id" meta tag was invalid

I tried to enable Facebook Insights for my web. I added my page's APP_ID to fb:admins to enable every admin of my page to access Insights when logged into Facebook as Page. But when I try to save the dialog message appears:

The app ID "123,123,123,123,123" specified within the "fb:app_id" meta tag was invalid.

I double checked my app ID and it's correct.

like image 245
Tomáš Fejfar Avatar asked Nov 12 '12 16:11

Tomáš Fejfar


People also ask

What does this mean FB App_id?

The $app_id value in our example above ( 966242223397117 ) is Facebook's “default APP ID”. This can be used by any website as a default, and will remove the error in the debugger. If you have a Facebook app, you can replace that value and use your own application ID.

How do I add FB App_id?

To install the FB App_ID, navigate to the titles and meta settings page, click the social meta tab, and paste the ID in. Problem fixed!

How do I find my FB App_id?

If you are facebook user login your id and go to "https://developers.facebook.com" link for registration as a facebook developer. Facebook will provide your FB APP_ID for further uses.


2 Answers

To link Domain Insights to an app rather than a user, you need to use the fb:app_id tag:

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

Source: https://developers.facebook.com/docs/insights/

like image 54
gjb Avatar answered Sep 25 '22 17:09

gjb


Only personal IDs are allowed in the fb:admins meta tag. Application IDs won't work, even though they are actually valid (in contrary to what the error message says).

Optionally, it may also work with page_id:

<meta property="fb:page_id" content="395450240451647" />

The suggested app_iddidn't work at all :(

like image 20
Tomáš Fejfar Avatar answered Sep 23 '22 17:09

Tomáš Fejfar