Social networking that's not for sale. Your home feed should be filled with what matters to you most, not what a corporation thinks you should see. Radically different social media, back in the hands of the people.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mastodon: {
type: "app",
app: "mastodon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.mastodon.$auth.site_domain}/api/v1/apps/verify_credentials`,
headers: {
Authorization: `Bearer ${this.mastodon.$auth.access_token}`,
},
})
},
})
Emit new event when a new status is posted to your Profile. See the docs here
Emit new event when the specified status is bookmarked. See the docs here
Emit new event when the specified status is boosted. See the docs here
Emit new event when the specified status is favorited. See the docs here
Mastodon uses API keys for authentication. When you connect your Mastodon account, Pipedream securely stores the keys so you can easily authenticate to Mastodon APIs in both code and no-code steps.
To connect your Mastodon account with Pipedream, you'll need to enter the below info:
https://techhub.social/home
for instance, then the site_domain
is techhub.social
(we'll prepend the https://
protocol for you)site_domain
for your Mastodon instance belowhttps://[your_site_domain]/settings/applications
access_token
and paste that value below