Jason Rollins
Jason Rollins

Reputation: 183

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?

Upvotes: 18

Views: 8188

Answers (3)

Christopher Blizzard
Christopher Blizzard

Reputation: 1988

I've updated Facebook's documentation to include the right directions for more than one admin. Sorry for the confusion.

Upvotes: 2

Clear form
Clear form

Reputation: 1

in my oppinion, only the last meta tag will count for the code that uses the property value.

although meta should go in the head, you can use them anywhere and anytime on the page. just keep in mind the parser goes through the code and compiles all the lines in order.

you can even use the [IF] to select the code to be parsed according to certain global conditions.

Upvotes: -2

Kai Haase
Kai Haase

Reputation: 406

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"/>

Upvotes: 34

Related Questions