close

private void FBcheckin(String placeID,String Get_message) {
try {
Bundle params = new Bundle();
params.putString("access_token",FB_access_token);
params.putString("place", placeID);
params.putString("message",Get_message);
params.putString("application","打卡");
JSONObject coordinates = new JSONObject();
coordinates.put("latitude", LocationConsts.mMyLocationLat);
coordinates.put("longitude", LocationConsts.mMyLocationLon);
params.putString("coordinates",coordinates.toString());
JSONArray frnd_data=new JSONArray();
params.putString("tags", "");
String response1 = FacebookRequire.request("me/checkins", params, "POST");
Log.i("response1",response1);
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

}

arrow
arrow

    虎虎 發表在 痞客邦 留言(0) 人氣()