Facebook login using curl on app engine not creating a facebook session

67 views
Skip to first unread message

Edmund Rojas

unread,
Sep 7, 2015, 2:13:20 AM9/7/15
to Google App Engine
I have been pulling my hair out a few days on this issue, I have integrated facebook login on many other servers with no issues, but on appengine this is a major challenge. I have followed all of the steps to enable curl and enable billing as outlined on the developer site, however despite this I still do not receive a facebook session after authentication and the page is redirected, there are many learning curves in app engine I understand but I cannot find much documentation for facebook login on appengine anywhere.

I have made a post on stackoverflow here if anyone could help me get through this, at this point I'm out of ideas. Thanks again.

Edmund Rojas

unread,
Sep 7, 2015, 11:55:30 AM9/7/15
to Google App Engine
I have decided to try some other server companies today, Google app engine has been simply nothing but stress and delays and I have timelines to meet.

Stuart Langley

unread,
Sep 7, 2015, 8:58:25 PM9/7/15
to Google App Engine
I copied the facebook example code from here and it works right out of the box. You can see the test site here.

Looking at your SO post your app.yaml does not appear to be correct, as you have no entry to invoke your callback script.

Edmund Rojas

unread,
Sep 7, 2015, 9:14:37 PM9/7/15
to Google App Engine
I posted a reply in Stackoverflow, would you be able to show me an example of your code? I suspect it could be that I am using the development environment but I cannot push the code live right now so I cant test my code there.

Stuart Langley

unread,
Sep 7, 2015, 9:49:14 PM9/7/15
to Google App Engine

Stuart Langley

unread,
Sep 7, 2015, 9:49:52 PM9/7/15
to Google App Engine
Forgot to mention, you'll need to edit defines.php to add your app_id and secret.

Edmund Rojas

unread,
Sep 8, 2015, 12:10:57 AM9/8/15
to Google App Engine
I finally got it to run, thanks for your help very much appreciated
Reply all
Reply to author
Forward
0 new messages