... but it is!
I am calling the facebook API with the following link in order to receive my access token:
https://www.facebook.com/dialog/oaut...publish_stream
What am I doing wrong?
Facebook answers with the following error:

message: redirect_uri isn't an absolute URI. Check RFC 3986.type: OAuthExceptioncode: 191It shouldn't have anything to do with it, but I am using java's URLEncode.encode() to encode the URL into UTF-8. I compared the result with that one from JavaScript's encodeURIComponent() and didn't find any difference.
EDIT: Do I have to set the domain into my configuration? I can't locate it on "App Domains" (because facebook doesn't allow me to add domains there with port configuration) but I set the domain as "URL of my website".
EDIT2: The unencoded redirect uri: http://mydomain.org:8080/Server/Face...icationServlet
EDIT3: This has nothing to do with the :8080. I tested it with a php-script (URL was like bla.domain.org/myphp.php) and sent the code by the php script to the tomcat server, but the error persisted.


View Solution