Social Login

Log in with your social media accounts!

Back to Social Login Support

zachar
zachar

Hi guys,

How to get an right e-mail address from user ( this one, which is registered on tweeter) when he is log into website with sociallogin by his tweeter account on , and save it in db ? becouse now I haved something like "usernameOfTweeter"@dev.null in each e-mail addresses?

I really need this in my website.

Flynsarmy
Flynsarmy

Twitter doesn't provide email addresses so I generate an @dev.null email when logging in for the first time with a Twitter account.

zachar
zachar

I'm sorry, but I think that from short periode of time it's possible to take e-mail address from tweeter's api...but maybe I'm wrong... look at:

https://dev.twitter.com/rest/reference/get/account/verify_credentials

But i don't have any idea how to use this information in plugin

1-3 of 3