Reputation: 1283
First of all, can someone confirm that open graph object types form a hierarchy. I mean is every movie
a video
and is every video
an object
?
The reason I'm asking is that like
action type supports only defining object
object type in the app dashboard so if I define my object to be of type movie
, will I be able to like that object? From what I can gather from documentation, that should indeed be the case, but it is not stated anywhere explicitly.
I stumbled upon this because I get an error while trying to like a URL on behalf of a user. The liked object instance has the og:type
defined as movie
. The error returned is:
{"error":{"message":"(#100) Like actions are not yet supported against objects of this type.","type":"OAuthException","code":100}}
I tried several things and I got really confusing results:
og:type
parameter to object
. I got the same error.og:type
parameter to website
. I got the same error.og:type
parameter to video
. I got the same error.
Some more info about my setup:
Like
action type, and Object
and Video
object types.Like
action type has not been submitted for approval but I'm performing requests with a valid access token from a user that has a role to perform the non-submitted action-types in my app.object
and access_token
) urlencoded.
[possibly a duplicate of this question]
Upvotes: 3
Views: 3213
Reputation: 3149
Type website
is fine.
Try doing the Like Button Migration, see "Preparing for Migration" in that doc.
You can check if your website
needs the migration by checking if it has the old-style "Admin Page" for that website
(object) by checking if you are admin for a FB Page with the same name as the og:site-name
or og:title
meta tag. If you are admin for a FB Page named the same as your object, then like'ing using Open Graph (ie. with /me/og.likes
) requires Like Button Migration.
Upvotes: 2