windows phone 7 - Twitter OAuth authen token key: Unknown character returned -
i'm building twitter client in windows phone, using hammock library dll when try twitter access token key after entered username , password, got return access token key in strange characters form.
this got twitter api:
"�\b\0\0\0\0\0�d�k�0@��03�߀����#�\0���b��k���hpϝ�e�v͜\noo-[���#�༑,w]��edz�#�p���,�\t��?k�?o%%@�w��¬���)�q��\a�^a�>9tni�8y��h\n�x��5�%��z�(!�\0\0��\0_��Ԡ\0\0\0"
so after unsuccessful , won't redirect me application.
any idea of happens?
thank you.

the oauth token might encoded in gzip.
here code snippet handle case:
if (webresponse.headers["content-encoding"] == "gzip") { stream = new gzipinputstream(stream); }
Comments
Post a Comment