Elektrine lite

← Feed

@me@snac.cateat.fish

2026-11-04 07:31 UTC

@grunfink@comam.es i can't figure out how i'm supposed to set in_reply_to_id on /api/v1/statuses. It doesn't seem to be the timestamp nor hash used to identify posts in the web ui. How can I find an API compatible post id?

Replies (1)

  • @grunfink@comam.es 2026-11-05 07:53

    Hi. You must get the Mastodon API post id either from a timeline or by using search on the real post id. The gory details: Mastodon-API-compatible ids are simulated in #snac by concatenating the object creation time (ctime) and the md5 of the real post id (see the function mastoapi_id() in mastoapi.c for more details). Hope it helps.

    Open ##5485036