我想使用Facebook sdk来检查一个地方3.它应该贴在墙上作为支票。我有地方ID。任何人都知道该怎么做以及任何代码&gt;&gt; < / p>
答案 0 :(得分:0)
Bundle data = new Bundle();
data.putString("access_token", "YOUR ACCESS TOKEN");
data.putString("place", "your_place_id");
data.putString("message","Your Text here");
JSONObject coordinates = new JSONObject();
coordinates.put("latitude", "LATITUDE");
coordinates.put("longitude", "LONGITUDE");
data.putString("coordinates",coordinates.toString());
data.putString("tags", "user_id");
String response = faceBook.request("me/checkins", data, "POST");