redouane59 / twittered

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

How to set own account bio? #370

Open helpimnotdrowning opened 2 years ago

helpimnotdrowning commented 2 years ago

I'm still learning java, so sorry if I've missed something easy.

I can't find any methods that would let me change my account bio. I know its definitely possible, since I've done it with tweepy for Python, but I can only find a way to get it in this project with User.getDescription.

Using:

redouane59 commented 2 years ago

Hey @helpimnotdrowning , I don't think that the library has a method to set the user description. Did you check the twitter API documentation ? Not sure such endpoint exists.

helpimnotdrowning commented 2 years ago

I think the description parameter here https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile would do this.

redouane59 commented 2 years ago

Oh you're right. As it's v1 endpoints I didn't plan to implement it until the v2 version is released, but feel free to contribute to the project submitting a pull request :)