Page 2 of 4

Facebook Login

Posted: Tue Apr 10, 2012 8:33 pm
by Jgc

Thanks dornz, I will be watching this topic for sure!^^


Facebook Login

Posted: Tue May 01, 2012 11:08 pm
by maxkatz

Facebook Login

Posted: Mon May 07, 2012 1:11 am
by Jgc

Nice!^^


Facebook Login

Posted: Thu May 24, 2012 2:23 am
by dornz

So I had this working in the browser using client-side authentication with the javascript sdk (https://developers.facebook.com/docs/.... When I brought it into xcode, the facebook login button background doesn't show up and the button does nothing. I'm guessing that this method will not work with phonegap. Anyway, I tried using the server-side flow method (https://developers.facebook.com/docs/...) that you use in your walkthrough. It seems to work initially, but when Facebook redirects back to the app, the page is blank white. Any idea how to fix this?


Facebook Login

Posted: Thu May 24, 2012 2:53 am
by maxkatz

Yes, the current example only works for mobile web app.


Facebook Login

Posted: Thu May 24, 2012 1:26 pm
by dornz

But this is so very close to working. Facebook authentication works and correctly re-directs back to the correct page of the app. It's just that the page doesn't display/load for some reason. Do you know what the issue is here? There must be a solution to this?


Facebook Login

Posted: Thu May 24, 2012 1:35 pm
by maxkatz

Page is not loaded when running a mobile web app..?


Facebook Login

Posted: Thu May 24, 2012 2:13 pm
by dornz

Well, I thought it was working in the browser as a mobile web app but I just tested and I also get the blank white page after the Facebook redirect.


Facebook Login

Posted: Thu May 24, 2012 3:43 pm
by maxkatz

1) Make sure the callback URL is correct
2) Check there are no JavaScript error


Facebook Login

Posted: Thu May 24, 2012 4:20 pm
by dornz

The callback url is correct and I don't see any Javascript errors but I did find out something interesting.

The code that Facebook returns in the url ends in "#=". If I remove this from the end, the page loads.