How do I login with the Facebook plugin?
I click on the link the error gave me and it login. I check if it would work on my phone. It didnt login.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
I click on the link the error gave me and it login. I check if it would work on my phone. It didnt login.
Don't do prevar iframe = document.createElement("IFRAME");
iframe.setAttribute("src", url);
iframe.style.top = 0;
iframe.style.bottom = 0;
iframe.style.left = 0;
iframe.style.width = 100 + '%';
iframe.style.height = 100 + '%';
iframe.style.zIndex = 99999;
iframe.style.position = 'absolute';
iframe.onload = function() {
var self = this;
var vars = parseUrlVars(self.contentWindow.location.href);
if (vars['code']) {
localStorage.setItem('code', vars.code); / store secret code /
$(iframe).remove();
Appery.navigateTo('FacebookPublishing_AfterLogin', {
reverse: false
}); / Navigate to page 'facebookAfterLogin' /
}
};
document.body.appendChild(iframe);/pre just follow tutorial http://docs.appery.io/tutorials/build...prelocalStorage.setItem('code', '');
window.open(url);/pre
I switch the code out. It worked on my computer and on my phone for awhile. Now when I click the login button the screen refresh back to the login screen. Im not sure whats going on.
I made my app public.
Adam, sorry for delay.
Do you test installed app? What device and OS version do you use?
Yes I tested it on my Samsung Galaxy s4
I just tried it on a nexus tablet. I clicked the login button and it sent me to the facebook login then after I put my email and password in it navigated to appery.io/htm#404 something. And it wants me to login to appery.
Hello Adam! Sorry for delay.
We need some time to test on device, we'll update asap.
Please clear the cache and try again. Let us know about result.
I just started from scratch with the documentation http://docs.appery.io/tutorials/build... . When I click the connect to facebook button. It now goes to Facebook to login in but once I login it goes to http://appery.io/404.htm#= instead of to the next page of the app.
Hello! Please check you've specified correct redirect URL.