redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
237 stars 65 forks source link

User: created_at always null and "profil_image_url" #293

Closed Boby024 closed 2 years ago

Boby024 commented 3 years ago

I tested with my python script and the value "created_at" of "user" was given. Also "profil_image_url" value is not given Could you check them, please?

redouane59 commented 3 years ago

These two fields are currently supported by the library. Could you share with me which method you used please ? thanks

Boby024 commented 3 years ago

I used this method "searchAllTweets"

redouane59 commented 3 years ago

Ok if you search tweets, you will be able to find the tweet informations. For example, searchAllTweetsResult.getData().get(0).getCreatedAt() will give you an answer. But if you need information about the user, you have to get the authorId and then call the getUser method... For the profile image url, I just fixed that, a method was missing in the User interface.

I already created this issue https://github.com/twitterdev/open-evolution/issues/6 hoping that Twitter API team will make an evolution on this subject.

Boby024 commented 3 years ago

yes I already used it to get the parameter of tweet "createdAt" tweetList.getIncludes().getUsers().get(0).getDateOfCreation() give always "null".

redouane59 commented 3 years ago

Ah wait, maybe the url is wrong and should include user.fields, let me check that

Boby024 commented 3 years ago

This issue will also be solved with the next release next week ?

redouane59 commented 3 years ago

Yes I will probably release it next week or the week after as maximum

Boby024 commented 3 years ago

thanks 👍

redouane59 commented 2 years ago

2.9 released