twittered icon indicating copy to clipboard operation
twittered copied to clipboard

How to set own account bio?

Open helpimnotdrowning opened this issue 2 years ago • 3 comments

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:

  • Java Adoptium JDK 17
  • Windows 11 21H2
  • twittered 2.16
  • Twitter API v1.1 (i think)

helpimnotdrowning avatar Apr 07 '22 16:04 helpimnotdrowning

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.

redouane59 avatar Apr 08 '22 10:04 redouane59

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.

helpimnotdrowning avatar Apr 08 '22 11:04 helpimnotdrowning

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 :)

redouane59 avatar Apr 08 '22 11:04 redouane59