mardi 24 février 2015

get all facebook likes on android

I am currently using the code below to get my facebook likes but I get only 25 and also pagination with next.But the limit is always 25.And its always current page and next page.I want all likes in one go.How can I do it in android in 1 go? or should I have asynctask running till there is no next option in response?



new Request(facebook.getSession(),
"/me/likes",
null,
HttpMethod.GET,
new Request.Callback() {
@Override
public void onCompleted(Response response) {


JSONArray arr = null;
GraphObject go = response.getGraphObject();
JSONObject jso = go.getInnerJSONObject();

Aucun commentaire:

Enregistrer un commentaire