pybamm-team / BattBot

An automated Twitter Bot that Tweets random Battery Simulations and replies to requested Battery Simulations.
https://twitter.com/battbot_
24 stars 7 forks source link

Bot Ceased Tweeting Daily Battery Simulations #108

Open thangnguyenminh opened 1 year ago

thangnguyenminh commented 1 year ago

Issue

The Bot has ceased tweeting daily battery simulations for the past two weeks.

Description

It seems that the Bot stopped functioning correctly after I posted comments on one of its tweets. I initially thought my comments might have somehow interfered with the Bot's operation. To resolve this, I deleted my comments, but unfortunately, this did not resolve the issue as the Bot is still not tweeting daily battery simulations.

Expected behavior

The Bot should be tweeting daily battery simulations irrespective of user interactions on its tweets.

I hope this powerful Bot will be back soon.

Saransh-cpp commented 1 year ago

Thanks for reporting this, @thangnguyenminh!

The bot is currently erroring out with the following logs -

INFO:root:Twitter API internal error. Trying again in 5 minutes INFO:root:403 INFO:root:{"errors":[{"message":"You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code":453}]}

I think this has something to do with Twitter's new API rules (they have been changing some or the other thing every week). I'll take a look at this.