I’ve just implemented an FB.ui ‘send’ call. I process the returned value in the callback function and, not finding any documented reference, I wonder if I can investigate what’s inside this ‘response’ JSON object. In PHP it is fine but I’m in JavaScript and I just want to process in the client, not additional server calls.
Right now I can just say that ‘response’ is ‘null’ or not. How can I find it’s set of ‘response.value’ or some kind of de-serialization of the object in a string?
Thanks
I’ve just implemented an FB.ui ‘send’ call. I process the returned value in the
Share
Have you installed Firebug (if you use Firefox) or do you use Chrome? I believe if you call
console.logwith your object, it will allow you to inspect its structure in the Firebug Console Log. In Chrome, it will be logged in its Console Log.Here is a good tutorial with more detail on using console.log.