eyhan / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

In FacebookJsonRestClient class pages_getInfo(userId, fields) return JSONArray #322

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

java.lang.ClassCastException: org.json.JSONArray cannot be cast to
org.json.JSONObject at
com.google.code.facebookapi.FacebookJsonRestClient.pages_getInfo(FacebookJsonRes
tClient.java:60)

What is the expected output? What do you see instead?

Expected output is JsonObject, but it returns JSONArray.

What version of the product are you using? On what operating system?

facebook-java-api-3.0.2

Please provide any additional information below.

Original issue reported on code.google.com by das.abhi...@gmail.com on 3 Jun 2010 at 2:08