I attempted to transfer the response from a Facebook API request obtained through the FB JS-SDK to my flash application using external interface. However, I am having trouble identifying the type of response as it displays [object object] when printed in the console. Some values display correctly while others show [object object] when accessing properties like name or id.
My questions are: What is the data type of the response returned by Facebook? How can I effectively pass this response into my flash application? What type argument must be set for this process? Should I extract each key of the response and store them in an array before passing it to flash, or should I send the response object directly to flash and then extract it there?
I'm perplexed because using the JSON.decode method in JavaScript resulted in nothing (undefined). Any help or suggestions would be greatly appreciated.