Welcome Guest, Not a member yet? Register   Sign In
MY Own Auth System, but needs some help!
#1

[eluser]Exxon[/eluser]
I'm building a auth system that can login to a lot of the common providers. Why am I building a new auth system? Because I like things to work in a specific way. So this is kind of like a user account hybrid system. Features of a traditional auth system but with providers included. So you can still ban, send e-mail (news) etc.

But I need some help.

Does anyone know how to get a user's twitter email adddress ? I know you can use
Code:
'req_perms' => 'email',
in facebook but just can't find a way to do this in twitter.

Another problem I'm having is how can I access a user's google account avatar and their e-mail address? For example twitter gives the url of the avatar in their api call and facebook has a graph api.

Thanks for your time
#2

[eluser]Dennis Rasmussen[/eluser]
Take at look at http://www.haughin.com/code/twitter/
#3

[eluser]pbreit[/eluser]
From what I can tell, it's not possible to retrieve either an email address for a Twitter user or a Google Profile picture. Also note that Twitter now requires OAuth authentication to use the API.




Theme © iAndrew 2016 - Forum software by © MyBB