Sure. Here's the response from Facebook after split(), debase64() and
unwrap():
{"algorithm":"HMAC-SHA256","expires":0,"issued_at":
1301030795,"oauth_token":"134488113278066
97196677e182b97d171eb039-1005861684
aKEPt10NIgkOrOMDESJgTqWsCcw","registration":{"name":"Pete
Giovagnoli","first_name":"Pete","last_name":"Giovagnoli","email":"pgio
\
u0040earthlink.net"},"registration_metadata":
{"fields":"name,first_name,last_name,email"},"user":
{"country":"us","locale":"en_US"},"user_id":"xxxxxxxxxxxx"} "
Notice there's substantial whitespace before and after the string. And
I redacted my Facebook ID.
Minus the whitespace and the last quote mark this passes the JSON
parser at
http://json.parser.online.fr/
I thought unwrap() would remove the newlines in this chunk of text but
it doesn't seem to do much. Curious.
Thanks Simon.
On Mar 25, 3:13 am, Simon Oberhammer <
simon.oberham...@gmail.com>
wrote: