PDA

View Full Version : data that makes up FacebookProfile?



rickcr
Oct 10th, 2011, 11:17 AM
For debugging purposes (and learning all what FB returns) I'd like to see what all goes into making up the FacebookProfile object. (Unfortunately commons ReflectionToStringBuilder doesn't recurse into Lists and output the content nor does it seem to even reflect into non native objects like facebook.api.Reference.) I could create me own toString but before I do I figured just looking at the raw json would returned from the graphAPI would be a start. Is there an easy handle to the JSON output that I could grab from SpringSocial?

habuma
Oct 10th, 2011, 11:52 AM
For me, the best way to see what FB returns is to duplicate the request in their Graph API explorer (https://developers.facebook.com/tools/explorer). I suppose that Spring Social could be altered to log that kind of detail (if so, in "debug"), but I've not felt a need to do that when it's easy enough to post it through the explorer in the rare cases when I wonder what FB sent back.

rickcr
Oct 10th, 2011, 11:55 AM
For me, the best way to see what FB returns is to duplicate the request in their Graph API explorer (https://developers.facebook.com/tools/explorer).

Cool. Didn't even know about that. Thanks.