Reputation: 133
I referred https://developers.facebook.com/docs/opengraph/location_tagging/
While trying to publish checkin, I passed place as place=(some url like "http://www.example.com/jeffys_burgers.html") along with lat,long coordinates and facebook user_id from android app,it responds {"error":{"message":"(#100) Requires a valid Place Page ID","type":"OAuthException","code":100}}.
My query is how to specify actions,object type in my facebook app so that I can pass appropriate arguments from android app, for publishing checkin at a custom place ?
Upvotes: 4
Views: 1782
Reputation: 1011
In the documentation you link to (in the section "Specifying Object Type") they create an object type called "Venue" of the type "Place". You have to do something similar. You don't have to call it "Venue" though.
Remeber that the object type Place is a "Facebook Place". Your jeffys_burgers.html should have og:type=yournamespace:venue (if you decide to call your object type "Venue"), and have the place:location:latitude and place:location:longitude set.
Upvotes: 4