|
|
Hi, i'm a fresh developer, i run into a problem while fetching jsonobjects from the facebook using restfb API:
JsonObject facebookUser = facebookClient.fetchObject("1674441058", JsonObject.class)
there should be a field named type that old information about the object type, in this case type = user.
but it dose not exists, facebookUser.getString("type") returns an error.
when i fetch it on the graph API explorer it appears as the last field,
System.out.println(facebookUser.toString()) gives all the fields except this one
any idea how to get the type of a json object?
thanks in adv...
|