parroty / extwitter

Twitter client library for elixir.
MIT License
409 stars 129 forks source link

Get user's email #68

Closed alex88 closed 7 years ago

alex88 commented 7 years ago

On https://github.com/parroty/extwitter/blob/e77527d1b30a26bef357e42cfe84a5d696552667/lib/extwitter.ex#L875 you show that you an actually request an email, I've added that into the apps settings too, however, there is no email in the response of the verify_credentials call, is that expect?

parroty commented 7 years ago

Thanks for the report, it seems the definition for verify_credentials is wrong.

I'm trying to update the endpoint with above commit. Is it possible for you to try if it works as your expectation? (maybe with following mix.exs definition).

  defp deps do
    [
      {:extwitter, github: "parroty/extwitter", branch: "fix_68"}
    ]
  end
alex88 commented 7 years ago

It works, thanks!

parroty commented 7 years ago

Thanks for the confirmation!