6

when I access 127.0.0:8000/associate/twitter, my django get all the twitter's information except for the email address.

there is no problem in accessing 127.0.0:8000/associate/facebook, i was just wondering why my django did not get the email of the twitter account?

do anyone have an idea on how to solve my case? thanks in advance ...

this is in my settings.py

FACEBOOK_APP_ID              = '.....'
FACEBOOK_API_SECRET          = '.........'
FACEBOOK_EXTENDED_PERMISSIONS = ['email']
#twitter
TWITTER_CONSUMER_KEY = '.........'
TWITTER_CONSUMER_SECRET = '.........'
gadss
  • 21,687
  • 41
  • 104
  • 154
  • 1
    Duplicate of http://stackoverflow.com/questions/4377633/oauth-twitter-and-email. Short answer: twitter doesn't provide user email. – stalk Jun 01 '12 at 07:01
  • thanks for the reply stalk... now i know the reason :) – gadss Jun 01 '12 at 07:10
  • Check this answer of mine for python-social-auth: http://stackoverflow.com/questions/4377633/oauth-twitter-and-email#answer-35039478 – collerek Jan 27 '16 at 14:09

1 Answers1

5

twitter does not provide the email. As much you will have access to the data provided when verifying the credentials

jdcaballerov
  • 1,452
  • 1
  • 12
  • 16