Re: django facebook authentication

2011-01-27 Thread CrabbyPete
Thanks I figured it out. I should just use request.path I used request.get_full_path() which returns the whole request including the ? code=xxx which messed me up. On Jan 26, 12:07 am, Matias Aguirre wrote: > Hi, > > Is your request.get_host() the same defined in Facebook app settings? (Web > s

Re: django facebook authentication

2011-01-25 Thread Matias Aguirre
Hi, Is your request.get_host() the same defined in Facebook app settings? (Web site section if I can recall correctly), facebook doesn't accept 127.0.0.1 as redirect url and might not accept localhost too. Check social_auth/backends/facebook.py on https://github.com/omab/django-social-auth for a

django facebook authentication

2011-01-25 Thread CrabbyPete
I am going nuts this should be simple but I keep getting a verification error every time in my response in the following code. I double checked my APP_ID and SECRET I try the following code. I'm using python2.5. Any help appreciated. def login( request ): parms = { 'client_id': settings.FACE