redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
234 stars 64 forks source link

Cannot deserialize value of type String "verified" #458

Open rstaq opened 1 month ago

rstaq commented 1 month ago

The following error occurs while fetching Tweets:

com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `io.github.redouane59.twitter.dto.tweet.ReplySettings` from String "verified": not one of the values accepted for Enum class: [other, following, everyone, mentionedUsers]
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: java.util.ArrayList[32]->io.github.redouane59.twitter.dto.tweet.TweetV2$TweetData$TweetDataBuilder["reply_settings"])

Please update the Enum class to all possible values

redouane59 commented 1 month ago

Hello, I'm not maintaining this library because Twitter API is not free anymore. Don't hesitate to submit a pull request if you want to fix it, I'll try to merge it.

huojiecs110 commented 2 days ago

u can try https://twitter.utools.me apiDoc: https://utools.readme.io/