Possibly due to recent changes in Misskey's API, it appears that the bot does not work with Misskey v13.5.6 to v13.9.2 (the latest version). While the same bot configuration is compatible with Misskey v12.118.1, it does not seem to work with version 13.5.6+. Despite granting the API token full access by selecting the "enable all" option, I still received an error message stating that I am not authorized to post using that API when attempting to run the bot.
ℹ 2023-03-10 07:22:34,706 - pleroma_bot - INFO - config path: /root/misskey-bot/config.yml
ℹ 2023-03-10 07:22:34,707 - pleroma_bot - INFO - tweets temp folder: /root/misskey-bot/tweets
ℹ 2023-03-10 07:22:34,710 - pleroma_bot - INFO - ======================================
ℹ 2023-03-10 07:22:34,710 - pleroma_bot - INFO - Processing user: karinya
ℹ 2023-03-10 07:22:35,208 - pleroma_bot - INFO - Instance appears to be Misskey ฅ^•ﻌ•^ฅ
Gathering tweets... 26
ℹ 2023-03-10 07:22:37,585 - pleroma_bot - INFO - tweets gathered: 24
Processing tweets... : 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 24/24 [00:03<00:00, 7.02it/s]
ℹ 2023-03-10 07:22:41,024 - pleroma_bot - INFO - tweets to post: 24
Posting tweets... : 0%| | 0/24 [00:00<?, ?it/s]✖ 2023-03-10 07:22:41,404 - pleroma_bot - ERROR - Exception occurred for user, skipping... (cli.py:717)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/pleroma_bot/cli.py", line 684, in main
post_id = user.post(
File "/usr/local/lib/python3.8/dist-packages/pleroma_bot/_utils.py", line 785, in post
post_id = self.post_misskey(tweet, poll, sensitive, media, cw=cw)
File "/usr/local/lib/python3.8/dist-packages/pleroma_bot/_misskey.py", line 132, in post_misskey
response.raise_for_status()
File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://never.bid/api/notes/create
Posting tweets... : 0%|
Possibly due to recent changes in Misskey's API, it appears that the bot does not work with Misskey v13.5.6 to v13.9.2 (the latest version). While the same bot configuration is compatible with Misskey v12.118.1, it does not seem to work with version 13.5.6+. Despite granting the API token full access by selecting the "enable all" option, I still received an error message stating that I am not authorized to post using that API when attempting to run the bot.