I want to check with facebook android sdk (graph api),
I'm trying this
String checkinData = "{"+ "\"message\"=\"Test\"" + "\"place\"=\"000000000\"" + "\"coordinates\"={\"latitude\":\"000000000\", \"longitude\":\"-000000000\"}\"" + "}"; Bundle params = new Bundle(); params.putString("checkin", checkinData); String pageData = ""; try { pageData = facebook.request("/checkins", params, "POST"); } catch (Exception e) { e.printStackTrace(); } System.out.println("Data : " + pageData);
But it gives me this error
{"error":{"message":"batch parameter must be a JSON array","type":"GraphBatchException"}}
is the right way to check facebook api chart usage
source share