【发布时间】:2012-07-09 17:52:46
【问题描述】:
我推荐了https://developers.facebook.com/docs/opengraph/location_tagging/
在尝试发布签到时,我将地点作为地点 =(一些 url,如“http://www.example.com/jeffys_burgers.html”)以及 lat、long 坐标和来自 android 应用程序的 facebook user_id,它 响应 {"error":{"message":"(#100) 需要有效的地方页面 ID","type":"OAuthException","code":100}}。
我的查询是如何在我的 facebook 应用程序中指定操作、对象类型,以便我可以从 android 应用程序传递适当的参数,以便在自定义位置发布签到?
【问题讨论】:
-
显示一些你尝试过的代码
-
String customPlace="http://
/fbPage.php?lat="+lt+"&long="+ln;捆绑参数 = 新捆绑(); parameters.putString("access_token", access_token); parameters.putString("description", "My Checkin"); JSONObject 坐标 = new JSONObject();坐标.put("纬度", lt+"");坐标.put("经度", ln+""); parameters.putString("坐标",coordinates.toString()); parameters.putString("place", customPlace); response = facebookClient.request("me/checkins",parameters , "POST"); -
在 HTML 中:ogp.me/ns# fb: ogp.me/ns/fb# coditest: ogp.me/ns/fb/app_name#"> google.com" /> s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />