#mastodonapi
RE: https://example.viii.fi/posts/6a8ec2be-567d-23d9-a555-676b88d3d369.json

I need to work out what format HTML Mastodon needs to render profile fields properly.
Specifically hashtags and mentions.
Anyone know?
#mastodonapi
example.viii.fi
August 28, 2026 at 4:45 PM
Hey #mastodonapi people - I have a question about profile attachments.

This says they can be hyperlinks
https://docs.joinmastodon.org/spec/activitypub/#PropertyValue

But it doesn't say how Mastodon determines something is a hashtag or a mention.

The JSON it sends back has `rel="tag"` for the […]
Original post on mastodon.social
mastodon.social
August 26, 2026 at 1:36 PM
I finally did it!

I've been linking my blog posts here recently to get more readers, but mostly because I wanted to integrate Mastodon directly into my site as my comment engine.

The system is now live. Replies to this post will appear on my blog!

#webdev #indieweb #blogging #mastodonapi
December 18, 2025 at 12:57 PM
Gotcha. Probably doesn't help that this is the top search result for ActivityPub client-to-server. Do you know why Mastodon implemented its own API rather than build off this?
April 9, 2024 at 7:15 AM
@relay@mastodon.hakurei.win (あとMisskeyにMastodonAPI搭載してるやつあんま好きではない)
August 16, 2025 at 6:34 PM
@relay@mastodon.hakurei.win 複垢専用Misskeyクライアント(MastodonAPIサポート)はやるかも
August 16, 2025 at 6:31 PM
なに、MisskeyにMastodonAPIを搭載するみたいな頭おかしい流れ?
July 4, 2025 at 5:12 PM
I put together a quick node.js script that lets you download media attachments from posts you favorited or bookmarked. In case anyone finds this useful.

https://github.com/stefanbohacek/download-media-files-from-likes-and-bookmarks

#mastodon #mastodonapi #nodejs
GitHub - stefanbohacek/download-media-files-from-likes-and-bookmarks
Contribute to stefanbohacek/download-media-files-from-likes-and-bookmarks development by creating an account on GitHub.
github.com
December 5, 2024 at 6:29 PM
Ah, wild shot, but is anyone using the fairly outdated mastodon-api node.js library?

https://github.com/vanita5/mastodon-api

Seems like the "streaming/user" no longer works?

Maybe it's really time to switch to something else.

#mastodon #mastodonapi #nodejs
GitHub - vanita5/mastodon-api: Mastodon API Client Library
Mastodon API Client Library. Contribute to vanita5/mastodon-api development by creating an account on GitHub.
github.com
December 1, 2024 at 2:06 PM
Another curious #activitypub / #mastodonapi issue.

A Mastodon server is sending me a DELETE message.

The delete is because a user has been deleted.

My server tries to validate the HTTP Signature.

My server looks up the deleted user's main-key.

The user […]

[Original post on mastodon.social]
October 2, 2025 at 4:36 PM
I want to allow my bots' posts to be quoted.

Do I need all these interaction policies - or can I just have the simplified interactionPolicy?

#mastodonapi #quotetoot
September 27, 2025 at 2:36 PM
If you're interested in making #mastodon search a little better - I think I have a good first issue for you 🙂

https://github.com/mastodon/mastodon/issues/27255#issuecomment-3188874461

This would enable you to search for posts made *only* by those you follow.

#mastodonapi
August 14, 2025 at 3:33 PM
🆕 blog! “Creating a generic "Log-in with Mastodon" service”

…

👀 Read more: https://shkspr.mobi/blog/2024/12/creating-a-generic-log-in-with-mastodon-service/
⸻
#auth0 #mastodonapi #oauth
Creating a generic "Log-in with Mastodon" service
shkspr.mobi
December 8, 2024 at 12:36 PM
If you are able to see the list of followers for the account @bot please let me know.

Mastodon is picking up the *number* of followers, but it won't show *who* is following and I'm trying to debug why.

#mastodonapi
November 25, 2024 at 7:02 PM
What are the *technical* steps behind moving a Mastodon account?

I understand how to do it from a user perspective (https://docs.joinmastodon.org/user/moving/#move) but what does the new server need to do?

Is it as simple as adding an "aliases" to the webfinger?

#mastodonapi #activitypub
November 4, 2024 at 9:17 AM
Hello #mastodonapi and #activitypub friends.

I've created a bot which has several test cases for you to try: @test_posts

If you've built something which consumes posts, this will (I hope) give you some confidence that everything renders correctly.

Are there any other types of posts you think […]
Original post on mastodon.social
mastodon.social
September 24, 2024 at 10:26 AM
If you use the #mastodonapi, I would like your feedback.

I've created an account which posts example posts - useful for testing how your code renders responses from the API.

Take a look at:
@test_posts

What other sort of posts would you like to see on there?
August 20, 2024 at 2:23 PM
Another #mastodonapi question.

Is there a good set of "reference posts"?

That is, a set of example toots which cover the gamut of what they can do.
One with an image, one with a content warning, one with poll etc.

Sort of like a reference suite for testing.
August 18, 2024 at 6:23 PM
I'm starting work on this Mastodon version of this tool.

Take an ID and return a static and embeddable piece of HTML.

But there's a problem with the #mastodonapi.

One of my posts has this JSON representation - https://mastodon.social/@edent/112948887103547937.json

But there's no count of […]
Original post on mastodon.social
mastodon.social
August 17, 2024 at 9:43 AM
@dampuzakura@fedibird.com @0418@mstdn.jp サーバー間はActivityPubで接続してクライアントにはMastodonAPIを提供するのみで組み込みフロントエンドを持たない実装もあったはず
December 13, 2024 at 2:04 AM