Hi Cody,
I've check your app and have following result:
There is some incompatibility in faceBook login processing with jqm render all pages in one template feature.
But i've found workaround for you, please follow it to get it work:
1 Use following code instead of yours:
pre
Code: Select all
var callbackUrl = "http://appery.io/app/view/" + Facebook_Settings.project_id + "/Login.html?targetPage=Facebook_Me";
var url = "https://www.facebook.com/dialog/oauth?client_id=" + Facebook_Settings['client_id'] + "&redirect_uri=" + encodeURIComponent(callbackUrl) + "&scope=publish_actions&response_type=token";
/pre
2 Open your login page and add "page show" js event handler with following code:
pre
var search = window.location.search;
var currentPageExec = /targetPage\=([^
var search = window.location.search;
var currentPageExec = /targetPage\=([\&\#]+)/gi.exec(search);
if(currentPageExec && currentPageExec[1]){
Apperyio.navigateTo(currentPageExec[1]);
};
\#]+)/gi.exec(search);
if(currentPageExec && currentPageExec[1]){
Apperyio.navigateTo(currentPageExec[1]);
};
/pre
That's all.
Regards.