Page 3 of 3
Facebook redirect_uri is required
Posted: Mon Sep 16, 2013 1:20 pm
by Kateryna Grynko
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.
Facebook redirect_uri is required
Posted: Mon Sep 16, 2013 4:11 pm
by Grace Yip
hi when i build the app via xcode to run on the iphone i get the following error:
the redirect_uri must be absolute
Facebook redirect_uri is required
Posted: Mon Sep 16, 2013 7:34 pm
by Maryna Brodina
Hello! Working on it, I'll update.
Facebook redirect_uri is required
Posted: Tue Sep 17, 2013 11:47 am
by Kateryna Grynko
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