Re: restfb json object

2012-06-05 Thread Dror
reply... thanks

On Tue, Jun 5, 2012 at 11:05 AM, Dror [via Apache Wicket] 
ml-node+s1842946n4649734...@n4.nabble.com wrote:

 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...

 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://apache-wicket.1842946.n4.nabble.com/restfb-json-object-tp4649734.html
  To start a new topic under Users forum, email
 ml-node+s1842946n1842947...@n4.nabble.com
 To unsubscribe from Users forum, click 
 herehttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=1842947code=ZHJvcmdvbmVuQGdtYWlsLmNvbXwxODQyOTQ3fDE4OTg5MDc1OTc=
 .
 NAMLhttp://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/restfb-json-object-tp4649734p4649735.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



restfb json object

2012-06-05 Thread Dror
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...

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/restfb-json-object-tp4649734.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org