Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Open Graph warning on multiple fb:admins

I'm getting a Facebook Open Graph debugger warning when I put two admins in the fb:admins meta value. With a single admin, it passes fine, but with two I get a warning. Everything works fine, but my OCD wants to get it right. Any help?

Here's my code:

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">

    <meta property="fb:app_id" content="122146944552301"/>
    <meta property="fb:admins" content="15901643,15932442"/>
    <meta property="og:type" content="article" />
    <meta property="og:url" content="http://uamedia.missouri.edu/mizmag/facebook-test.html" />
    <meta property="og:site_name" content="UA Media" />
    <meta property="og:title" content="Facebook Test" />

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>Facebook Test</title>
</head>

And I get this error:

Parser Mismatched Metadata The parser's result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: 'fb:admins'

Any ideas?

like image 575
Jason Rollins Avatar asked Aug 08 '12 15:08

Jason Rollins


People also ask

Does Facebook use open graph?

In fact, if Facebook doesn't find the og:title tag on your page, it uses the open graph tag title instead. As Facebook explains, most content is shared as a URL. If you want control over the way your content looks on its site, you must add OGP tags.

How do you make an OG tag?

You can set a custom og:image on a page by page basis. Just go to Page Settings > Social Image > Upload. If you need to add other OG tags and customize the default settings, go to Page Settings > Advanced > Page Header Code Injection. Read the following section on adding the tags manually and copy-paste the code there.

Is og URL required?

You do not ever need og:url . Instead, use the existing rel=canonical standard to link to your canonical page URL. Facebook's own documentation states they support this [1].

What is Facebook meta tag?

You can optionally set metadata tags in your product feed files. This enables Facebook to attribute catalogs using this feed to your app. Once a catalog is attributed to your app, the meta tag is not required in subsequent feed uploads to that catalog.


1 Answers

you have to use the array format [http://ogp.me/#array]

In your example:

instead of

<meta property="fb:admins" content="15901643,15932442"/>

you have to use

<meta property="fb:admins" content="15901643"/>
<meta property="fb:admins" content="15932442"/>
like image 104
Kai Haase Avatar answered Oct 17 '22 01:10

Kai Haase