How do I set an og:type for the first time without losing likes?

Posted by Travis on Stack Overflow See other posts from Stack Overflow or by Travis
Published on 2011-03-01T06:00:00Z Indexed on 2012/09/21 3:38 UTC
Read the original article Hit count: 200

When I first created my site, I neglected to add the Open Graph tags that Facebook recommends (http://developers.facebook.com/docs/opengraph/), and the site now has about 1200 Facebook likes through a fb:comments widget. http://graph.facebook.com/http://feedtheanimalssamples.com/ shows this:

{
   "id": "http://feedtheanimalssamples.com/",
   "shares": 1204
}

Recently, I've added added the following OG tags:

<meta property="fb:app_id" content="59193243341" />
<meta property="og:title" content="Girl Talk - Feed The Animals Samples (old)" />
<meta property="og:image" content="http://feedtheanimalssamples.com/fta_small.png" />
<meta property="og:url" content="http://feedtheanimalssamples.com" />

But when I add the og:type tag:

<meta property="og:type" content="website" />

and Lint the site, I lose all my likes. http://graph.facebook.com/http://feedtheanimalssamples.com/ starts showing this:

{
   "id": "170545342993850",
   "name": "Girl Talk - Feed The Animals Samples",
   "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/188039_170545342993850_3277642_s.jpg",
   "link": "http://www.facebook.com/pages/Girl-Talk-Feed-The-Animals-Samples/170545342993850",
   "category": "Website",
   "website": "http://feedtheanimalssamples.com/",
   "description": "Interactively identifies the samples in the 2008 album 'Feed The Animals' by mashup artist Girl Talk.",
   "likes": 1
}

(Note the "likes": 1.)

So: How do I set the og:type without losing my likes?

I'm trying to let my likers know that I've created a new and improved site. I'm following the instuctions at http://developers.facebook.com/blog/post/397 under "Publishing to Connected Users via Graph API", but using that API apparently requires specifying an og:type.

Thanks!

© Stack Overflow or respective owner

Related posts about facebook-connect

Related posts about facebook-graph-api