I would probably try asking somewhere dedicated to the Facebook SDK...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Sep 5, 2012 at 3:38 AM, Niall Paterson <npaters...@gmail.com> wrote:

> Anyone experienced the Graph API returning only a set number of results
> every time when JSON is used (limit is not being implemented)
>
> The exact problem is that 57 results are coming up and then one is coming
> up only partially, before this error is thrown.
>
> 09-05 10:09:56.911: W/System.err(3660): at
> org.json.JSON.typeMismatch(JSON.java:111)
> 09-05 10:09:56.911: W/System.err(3660): at
> org.json.JSONArray.<init>(JSONArray.java:91)
> 09-05 10:09:56.911: W/System.err(3660): at
> org.json.JSONArray.<init>(JSONArray.java:103)
>
>
> My actual code is below:
>
> String response = facebook.request("me/friends",bundle, "GET");
>
>
>
>
>
>    JSONArray jArray = new JSONArray(response);
>
>    for (int i = 0;i<(jArray.length());i++) {
>
> JSONObject json_obj=jArray.getJSONObject(i);
>
>  String username=json_obj.getString("username");
>
>  String fbname=json_obj.getString("name");
>
>  String installed=json_obj.getString("installed");
>
>  Log.i("name",fbname);
>
>  Log.i("detail", username);
>
>  Log.i("phoneBOOL","false");
>
>        }
>
>
> Any ideas?
>
>
>
>
> Anyone got experience at this?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to