That's a very old app. I not sure those API still work (not because of web2py changes, because of fb changes)
On Thursday, 18 September 2014 20:44:51 UTC-5, LoveWeb2py wrote: > > Using the default facebook appliance found here: > https://github.com/mdipierro/web2py-appliances/tree/master/FacebookExample > > I setup a facebook application and put in my secret key and api. It > successfully logs me in but for some reason it doesn't redirect back to my > home page. You can try it out here if you'd like. > http://ataylorusaf.pythonanywhere.com/facebook > > Here is my controller: > > from applications.facebook.modules.facebook import * > > facebook_settings.FACEBOOK_API_KEY = 'xxxxxxxxxx' > facebook_settings.FACEBOOK_SECRET_KEY = 'xxxxxxx' > facebook_settings.FACEBOOK_APP_NAME = "Synthetic Turf Doctors" > facebook_settings.FACEBOOK_INTERNAL = True > facebook_settings.FACEBOOK_CALLBACK_PATH = "/facebook/default/index" > > def index(): > require_facebook_login(request,facebook_settings) > return dict(message="Hello "+get_facebook_user(request)) > > Once it logs me in, I'm never returned to the index page. Instead my url > changes to: https://www.facebook.com/desktopapp.php#_=_ > > any thoughts on why this is happening? I've tried reading up on the > facebook class and the callback path should redirect me to my index if I'm > reading it properly. Appreciate any help > > > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.