Page 1 of 2
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 9:25 am
by AfshinMokhtari
Following the tutorial at http://docs.appery.io/tutorials/build...
I get to the part where I've created the click javascripts and added my APP ID; trying to test the app in the browser and after clicking to log in it takes me to what looks like the right url but the browser tab just hangs - all white screen no content.
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 9:34 am
by Maryna Brodina
Hello! Could you check are there any errors in console?
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 9:43 am
by AfshinMokhtari
I see no errors in the console.
The url to facebook is:
https://www.facebook.com/dialog/oauth...
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 10:24 am
by Maryna Brodina
Could you post screenshot of what you see when Connect button?
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 10:25 am
by AfshinMokhtari
When I hit the connect button, a new tab opens with nothing in it - just a white screen that never changes. Its worthless to take a screenshot of that!
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 11:06 am
by AfshinMokhtari
Can you follow the url I gave you previously? What do you get?
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 11, 2014 12:04 pm
by Maryna Brodina
Looks like there is some problem on Facebook side
http://stackoverflow.com/questions/15...
https://developers.facebook.com/x/bug...
You would need to contact Facebook support.
FB tutorial leaves me hanging trying to test login
Posted: Sat Mar 15, 2014 11:59 pm
by AfshinMokhtari
Both those links where to issues that were resolved (a year ago!)...
FB tutorial leaves me hanging trying to test login
Posted: Mon Mar 17, 2014 5:59 am
by Alena Prykhodko
Hello,
var redirectUrl = 'http://appery.io/app/view/d8ca9181-48...';
var url = 'https://www.facebook.com/dialog/oauth...';
url += '&redirect_uri=' + redirectUrl;
url += '&scope=user_education_history,friends_education_history,user_work_history,friends_work_history';
url += '&state='+OAuth.nonce(17);
Make changes in code according to your parameters like it is shown In the tutorials http://docs.appery.io/tutorials/build...:
variable "redirectUrl" - url to your "result" page.
"YOUR_APP_ID" - should be replaced with your appId.
FB tutorial leaves me hanging trying to test login
Posted: Tue Mar 18, 2014 8:25 pm
by AfshinMokhtari
Yes, all that is as according to the tutorial. This is what I get:
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.