Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wrong value for 'og:type' in facebook debugger

On a site I'm developing, I've set the og:type as "non_profit" as per Facebook's docs.

When I examine the page with the Facebook debugger / linter, the type is picked up as "profile". I can't seem to find anything wrong with my implementation: it all seems to obey FB's docs.

Anyone out there got an idea what I'm doing wrong?


Update: Here is a link to the site: http://www.hncc.co.uk/

And the code looks like this:

<html xmlns:og="http://ogp.me/ns#">
<head>
    <meta property="og:site_name" content="Highgate Newtown Community Centre" />
    <meta property="og:title"     content="Highgate Newtown Community Centre" />
    <meta property="og:type"      content="non_profit" />
    <meta property="og:url"       content="http://www.hncc.co.uk" />
    <meta property="og:image"     content="http://www.hncc.co.uk/...link-to-image.png" />
...
like image 568
JasonC Avatar asked Dec 20 '25 06:12

JasonC


1 Answers

"profile" is the default object type that Facebook reports for OG objects that report an invalid type. In your case, "non_profit" isn't a built-in type

https://developers.facebook.com/docs/technical-guides/opengraph/built-in-objects/#external_profile

You either need to use one of the built-in types or create a custom type. More info on that here:

https://developers.facebook.com/docs/technical-guides/opengraph/defining-an-object/

like image 147
ajstiles Avatar answered Dec 22 '25 19:12

ajstiles



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!