2
votes

I am having trouble trying to figure out how to fix this error that i have. I am using godaddy's website tonight, and on my website I am trying to add the Facebook “like” button. But when i click it I get the following message:

You failed to provide a valid list of administators. You need to supply the administors using either a fb:app_id meta tag, or using a fb:admins meta tag to specify a comma-delimited list of Facebook users.

I then went to my Facebook page were I have a page for my bussiness. I went to "insights for your website" and filled in the website name and linked with me. got the meta tag, <meta property="fb:admins" content="1349905809" /> and placed this on my website. I even had godaddy IT team place this tag on my root page, and several other location on my site. But when I the try to link insights with my website, I get this message:

No admin data found at root webpage http://kanopyking.net/. Insights requires admin data at this root webpage for the specified URL (kanopyking.net)

Is this meta tag that FB is providing me correct? why cant FB insights see my admin information on my page?

2

2 Answers

2
votes

If you have not added namespace for FB in the <html></html> tag of your webpage, you will need to do so.

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#">

To enable insites on my websites I use the app_id tag, not the admin_id tag.

Sample for a non domain root page:

<head>
   <title>Another Feed Javascript API</title>
   <meta property="og:title" content="Another Feed"/>
   <meta property="og:description" content="Another Feed Javascript API Test Page"/>
   <meta property="og:type" content="article"/>
   <meta property="og:image" content="<?php echo $this_ogimage; ?>"/>
   <meta property="og:site_name" content="Another Feed"/>
   <meta property="og:url" content="http://ShawnsSpace.com/plugins/af.php"/>
   <meta property="fb:app_id" content="246061345438635"/>
</head>

For root pages "example.com" the og:type needs to be set to website or blog.

0
votes

On the page where you get the error message - there is an image right below it of a cutout of code. It says:

<meta property="fb:admins" content="xxx" />

I also added this in the html tag:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#">