Okay I will try to be as descriptive as possible here,
I am using Python-Django server and the pyFacebook helper.
I have this callback url on the facebook edit application page:
http://panome.eyesee360.com:8000/panomeFbProject/fbLandingPage/
In my project urls.py: urlpatterns = patterns('', (r'^panomeFbProject/', include('panomeFbProject.panomeFbApp.urls')), )
And in the applications url.py: urlpatterns = patterns('', (r'^fbLandingPage/$', 'panomeFbProject.panomeFbApp.views.fbLandingPageRequest'), (r'^showMainFbPage/$', 'panomeFbProject.panomeFbApp.views.showMainFbPageRequest'), (r'^linkFbToPanome/$', 'panomeFbProject.panomeFbApp.views.linkFbToPanomeRequest'), )
In the views.py: If I use the facebook decorator @facebook.require_login() I am always redirected to the facebook callback page i.e. fbLandingPage, And if I remove the decorator, the flow is directed to the right pages.
Anyone faced a similar problem..?
- Amey Kanade