Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Facebook redirect_uri is required

Hi,

In the final app, you should use another address as a redirectUrl. Try replacing with:
codevar redirectUrl = window.url;/code
Please note this breaks authorization in browser when you test in mobile device frame.

Grace Yip
Posts: 0
Joined: Wed Sep 11, 2013 7:47 pm

Facebook redirect_uri is required

hi when i build the app via xcode to run on the iphone i get the following error:

the redirect_uri must be absolute

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Facebook redirect_uri is required

Hello! Working on it, I'll update.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Facebook redirect_uri is required

Hi,

Look at the redirectUrl content using codealert(redirectUrl);/code
Probably there is a hash in the address - this is a part of the address after the # symbol. If this is so run the following JS code before adding the resulting address:
codevar redirectUrl = window.location;
redirectUrl = redirectUrl.replace( /(#.+)$/, '' );
// ..../code

Return to “Issues”