我提到了 https://developers.facebook.com/docs/opengraph/location_tagging/
在尝试发布签到时,我通过 place=(some url like "http://www.example.com/jeffys_burgers.html") 以及 lat、long 坐标和来自 android 应用程序的 facebook user_id,它 响应 {"error":{"message":"(#100) Requires a valid Place Page ID","type":"OAuthException","code":100}}。
我的问题是如何在我的 facebook 应用程序中指定操作、对象类型,以便我可以从 android 应用程序传递适当的参数,以便在自定义位置发布签到?
最佳答案
在您链接到的文档中(在“指定对象类型”部分中),他们创建了一个名为“地点”的对象类型,类型为“地点”。你必须做类似的事情。不过,您不必将其称为“地点”。
请记住对象类型 Place 是“Facebook Place”。你的 jeffys_burgers.html 应该有 og:type=yournamespace:venue(如果你决定称你的对象类型为“Venue”),并且有 place:location:latitude 和 place:location:longitude 集。
关于android - 如何在自定义位置发布签到(如 foursquare),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11361836/