Social Network Login Failure For Twitter

I’m trying to integrate Django Social Authentication for Twitter everything is working fine but when I click to login with twitter it redirecting me to a page saying.

Redirecting you back to the application. This may take a few moments.

After that…

Social Network Login Failure

An error occurred while attempting to login via your social network account. Login with twitter page

[http://127.0.0.1:8000/accounts/twitter/login/callback/?oauth_token=UXsnAgAAAAABg1enAAABg5rSNlk&oauth_verifier=KmxwXXpjxKtjOXWTKYe7O2nEmUS5QjPe](https://Page URL)

Difficult to debug (and you probably want to consult the author / creator of the Django plugin). How have you configured the app on the Twitter Developer Portal? Does your app have Essential, or Elevated, access? Are there any error messages in the Django server-side log?

I think I don’t even need elevated access to get the ‘username’ and ‘display name’ but I’m getting an ERROR in rendering templates saying!

`{'auth_error': {'code': 'unknown',
                'exception': OAuthError('No access to private resources at "api.twitter.com".'),
                'provider': 'twitter'}}`
`{'False': False, 'None': None, 'True': True}
{'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
                            'ERROR': 40,
                            'INFO': 20,
                            'SUCCESS': 25,
                            'WARNING': 30},
 'csrf_token': <SimpleLazyObject: 'fLMMpdAOlqIXgmoTExcZiawnVp6xZlIjzAuMDHwCH7Wz3Bd58oVWyiXbJuxfRy66'>,
 'debug': True,
 'messages': <FallbackStorage: request=<WSGIRequest: GET '/accounts/twitter/login/callback/?oauth_token=tG5NzwAAAAABhMevAAABg6nnni4&oauth_verifier=k8oYGYGgKvlwnI4bwo8LWvfZXyFy3VJi'>>,
 'perms': PermWrapper(<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x000002297F38C850>>),
 'request': '<<request>>',
 'sql_queries': <function debug.<locals>.<lambda> at 0x000002297F146680>,
 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x000002297F38C850>>}
{'auth_error': {'code': 'unknown', 'exception': None, 'provider': 'twitter'},
 'oauth_client': <allauth.socialaccount.providers.oauth.client.OAuthClient object at 0x000002297F38C610>}`