That's not our App. Ours is called Acavano.
That's not our App. Ours is called Acavano.
Hi Brian,
Try using inAppBrowser as it's shown here:
https://getsatisfaction.com/apperyio/...
Instead of the code you use, for example:prewindow.open(url);/pre
Tried changing the code as suggested and now it goes directly to the Appery login screen and doesn't make it to the FB Login
code
window.open(url, '_blank', 'location=yes');
/code
Hi Brian,
What is the value of 'url' variable at the moment?
What is the value of 'redirectUrl' (in service settings) and 'Site URL' (on developers.facebook.com)?
App Code
pre
var redirectUrl = 'http://appery.io/app/view/4a9e0984-5d50-4d2c-ae36-a190e2a22d5d/Free_Card.html';
var url = 'https://www.facebook.com/dialog/oauth?client_id=345118232286542';
url += '&redirect_uri=' + redirectUrl;
url += '&scope=basic_info,user_birthday,friends_birthday';
url += '&state='+OAuth.nonce(17);
/pre
FB Settings, valid OAuth redirect URLS
pre
http://appery.io/app/view/4a9e0984-5d50-4d2c-ae36-a190e2a22d5d/Free_Card.html
/pre
Hi Brian,
You could implement Facebook authorization this way:
http://docs.appery.io/tutorials/conne...
We weren't using oauth.io for FB connect. Are you saying now we have to?
Hello Brian,
Yes, you may try, as an option, because you can't make your app working without this.
That's another paid service we would rather not have to pay for. There has to be a solution that doesn't involve signing up for oauth.io
I changed code to reflect this document
http://devcenter.appery.io/tutorials/...
It is working just like the demo. I changed the callbackUrl to be Free_Card.html but it's still going to Facebook_Me.html
The weird thing is in the browser it goes to the correct callbackUrl. In the IO Tester or straight apk/ipa it doesn't.