Dec 01, 2022 04:51 PM
I am adding Mastodon as an end point for my social needs.
I would like to replicate my Twitter automations and post to Mastodon. Does anyone have any idea how to create a webhook to do that?
Dec 05, 2022 02:23 PM
I think this should be possible with an automation!
You can make a POST request to the Mastodon API using the Run Script action in an automation. Here's the documentation for the fetch() method.
Dec 30, 2022 06:56 PM
I wish I was smart enough to figure this out. Would you mind giving me a sample of the script with this dummy Mastodon status update code?
# Set up
Mastodon mastodon = Mastodon( access_token = 'token.secret', api_base_url = 'https://botsin.space/' ) mastodon.status_post("hello world!")
Mar 09, 2023 08:00 AM
Autumn I wanted to follow up with this and see if you would be able to send me an example of the script. I am not a coder and that is where I fall short.