I am new, so you can expect some stupid mistakes from people like me, but I try to learn. I spent many hours trying to resolve this. Finally, the problem is with the Twitter keyword settings:
I get a "Social Network Error" error message because the settings of my Twitter application are not configured for the local host. Make sure your Twitter application has the following settings configured for your local host (development machine):
Callback URL: http://127.0.0.1:8000/
NOTE. . If you want to use it for a production server, you need to install Callback on your domain name as follows:
Callback URL: http://Your_Domain_Name.com
OR it is better to use a different set of keys specifically for use only.
BONUS . If you use django-social-auth and you do not have these settings, you may end up with a 401 Unauthorized error.
source share