sopel-irc / sopel-twitter

A Twitter plugin for Sopel
Other
2 stars 5 forks source link

Update to use tweety-ns version 0.9 #50

Closed dgw closed 1 year ago

dgw commented 1 year ago

Cookies aren't required any more. The mechanism to use cookies has changed. Username/password support is also available, so let's use that instead.

I'm positive some optimization could be done here to make the plugin work faster, but it's functional with the latest library version.

More to come, probably. Still need to figure out the best way to only construct a new Twitter object when necessary.

dgw commented 1 year ago

Two days ago, it worked without signing in. Now it doesn't. Continuing to work on the patch…

dgw commented 1 year ago

OK, seems to be working. However, I would rather not release until mahrtayyab/tweety#54 is completed so the plugin can specify that its session file should be stored in Sopel's homedir instead of the current working directory. (I already have tweety .json files scattered around my local tree from testing.)

dgw commented 1 year ago

However, I would rather not release until mahrtayyab/tweety#54 is completed

Counterpoint: It could be a day or a month until the next tweety-ns release. I'll just document the .json file spam and note it will hopefully be changed Soon™.