Hello,
The problem is that postRequest method from ExtensibleClient.java relies
on a buggy HttpURLConnection which by default adds a Content-Type header
with value "application/x-www-form-urlencoded" whereas it shouldn't:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6369510
Because my platform is patched, it sends POST requests without Content-
Type header, which are rejected by facebook.
As a consequence I'm unable to log in into facebook using auth_createToken
().
I think that this issue could be solved by adding the header in
ExtensibleClient.java line 628:
conn.setRequestProperty("Content-type", "application/x-www-form-
urlencoded");
Regards,
Christophe
Original issue reported on code.google.com by christop...@gmail.com on 14 Sep 2009 at 2:34
Original issue reported on code.google.com by
christop...@gmail.com
on 14 Sep 2009 at 2:34