I’d like to auth our users with twitter using twitter4j Java driver, then get their email and name. I successfully got request and access token and then I tried to access to user’s data like this:
user contains everything I need but email. It has the field email, but it’s null.
- I sent a request to twitter to allow my app to request user’s email address. They gave me an answer that it doest not needed anymore, just check a checkbox in my app’s admin and done. It’s done.
- That time, I thought maybe something is wrong with twitter4j, so I tried to query data via OAuth Tool which I found in the app’s admin. Unfortunately when I run the generated curl command in my terminal I get HTTP 404
- I found a similar topic, I think, the guy has the same problem: Email return null using twitter4j permissions having been set
I feel lost now. What do you recommend?