klausi / mastodon-twitter-sync

Synchronizes posts from Mastodon to Twitter and back
GNU General Public License v3.0
245 stars 24 forks source link

Error posting tweet to Twitter: BadStatus 401 on docker #71

Closed ChiefGyk3D closed 1 year ago

ChiefGyk3D commented 1 year ago

I am trying to run the program via docker on a Raspberry Pi 3B+ and I keep running into this error on exection

chiefgyk3d@yentapi:~/mastodon-twitter-sync $ docker run -it --rm -v "$(pwd)":/data klausi/mastodon-twitter-sync
Posting to Twitter: this is a test for a script to see if this is read
Error posting tweet to Twitter: BadStatus(
    401,
)

I am not sure if it's a permissions issue on my end, or something else, as this was a bit of a learning project as well for myself. However I was granted elevated API access from Twitter today as I had requested it as part of my tinkering and self education, so that shouldn't actually be the issue. Any help or guidance would be appreciated