Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

facebook4j.FacebookException: message - redirect_uri isn't an absolute URI. Check RFC 3986. code - 191 #2

Open
danilomagrini opened this issue Feb 23, 2017 · 0 comments

Comments

@danilomagrini
Copy link

I have been using facebook4j for over 1 year. Until yesterday everything worked normally. But, now I get this error: (I dont change my authentication class.)

facebook4j.FacebookException: message - redirect_uri isn't an absolute URI. Check RFC 3986. code - 191

Debug info:
facebook4j.internal.http.HttpClientImpl:debug(67): Request:
facebook4j.internal.http.HttpClientImpl:debug(75): GET https://graph.facebook.com/oauth/access_token?client_id=xxxxxxxxxxxxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxxxxx&redirect_uri=null&code=yyyyyyyyyyyyyyyyyyyyyyyy

===>> redirect_uri=null ????? YES!

facebook4j.internal.http.HttpClientImpl:debug(67): User-Agent: facebook4j http://facebook4j.org/ /2.4.6
facebook4j.internal.http.HttpClientImpl:debug(67): Accept-Encoding: gzip
facebook4j.internal.http.HttpClientImpl:debug(67): Response:
facebook4j.internal.http.HttpClientImpl:debug(67): x-fb-trace-id: EZFTzmDgE0w
facebook4j.internal.http.HttpClientImpl:debug(67): HTTP/1.1 400 Bad Request
facebook4j.internal.http.HttpClientImpl:debug(67): Access-Control-Allow-Origin: *
facebook4j.internal.http.HttpClientImpl:debug(67): WWW-Authenticate: OAuth "Facebook Platform" "invalid_request" "redirect_uri isn't an absolute URI. Check RFC 3986."
facebook4j.internal.http.HttpClientImpl:debug(67): Connection: keep-alive
facebook4j.internal.http.HttpClientImpl:debug(67): x-fb-rev: 2852011
facebook4j.internal.http.HttpClientImpl:debug(67): Pragma: no-cache
facebook4j.internal.http.HttpClientImpl:debug(67): Date: Thu, 23 Feb 2017 13:25:20 GMT
facebook4j.internal.http.HttpClientImpl:debug(67): Cache-Control: no-store
facebook4j.internal.http.HttpClientImpl:debug(67): Expires: Sat, 01 Jan 2000 00:00:00 GMT
facebook4j.internal.http.HttpClientImpl:debug(67): Content-Length: 137
facebook4j.internal.http.HttpClientImpl:debug(67): X-FB-Debug: oLgA+jNnn+AdE/p4Q2J+WholLoQ/GaBeKjXTbk0N4dhnBl0R6MuAcY/AQbLiGT7U1JQDwGmhBIT0apwJ43QR4g==
facebook4j.internal.http.HttpClientImpl:debug(67): facebook-api-version: v2.2
facebook4j.internal.http.HttpClientImpl:debug(67): Content-Type: application/json; charset=UTF-8
facebook4j.internal.http.HttpResponseImpl:debug(67): {"error":{"message":"redirect_uri isn't an absolute URI. Check RFC 3986.","type":"OAuthException","code":191,"fbtrace_id":"EZFTzmDgE0w"}}_

Somebody save me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant