sferik / twitter-ruby

A Ruby interface to the Twitter API.
http://www.rubydoc.info/gems/twitter
MIT License
4.58k stars 1.31k forks source link

Question: Retrieve User Email #943

Closed SylarRuby closed 4 years ago

SylarRuby commented 5 years ago

Is it possible to retrieve a user email address from the user model? I see the screen_name and uri but no mention of the email. This is all assumed that the consumer has permission to get the user email.

Thanks

andypiper commented 5 years ago

You'd need to call the account/verify_credentials endpoint with the include_email=true option on the API.

SylarRuby commented 4 years ago

Thanks! Just got back with this so sorry for the late reply.