0
votes

I am using python social auth in django. While using facebook an error occured.

http://solarbiz.in/complete/facebook/?redirect_state=FV9GiLjcd8BQHN3fhuneiowJlnS6PQO8&error_code=100&error_message=Invalid+Scope%3A+profile&state=FV9GiLjcd8BQHN3fhuneiowJlnS6PQO8

Any suggestions please, I am a beginner in django. I tried for several hours on this bug.

2

2 Answers

0
votes

From the link provided, error message is:

error_message   u'Invalid Scope: profile'

make sure you are using latest SDK and change the scope from profile to public_profile

0
votes

Look at your settings.py, it says:

SOCIAL_AUTH_FACEBOOK_SCOPE = ['email', 'profile']

I guess you should restart your web-server if you already had updated the file.