Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Post to Mastodon

140 2
cancel
Showing results for 
Search instead for 
Did you mean: 

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?

2 Replies 2

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.

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!")