Hi Michael
I have facebook login set up the same as above.
To recap, as I want to render all pages in one html I cant use:
pre
http://appery.io/app/view/MyAppID/DestinationPage.html
/pre
I have to use:
pre
http://appery.io/app/view/MyAppID/startScreenPage.html#DestinationPage
/pre
but as Yurii pointed out facebook login processing could not accept hashes (#) in the url.
Therefore I'm using the workaround:
using the call back
prehttp://appery.io/app/view/MyAppID/startScreenPage.html?loggedInWithFaceBook=true/pre
note: change MyAppID to your app's ID.
Make sure you change this in the JS file and in the app settings of the facebook dev page.
and on startScreenPage page show:
pre
if (window.location.search.indexOf('loggedInWithFaceBook=true') -1) {
//my DestinationPage is called 'facebookUser'
Apperyio.navigateTo('facebookUser');
console.log("nav to facebook user");
}
else {
}/pre
This works for me.
Let me know how you get on.