Skip to content

Note about IDs

Bryan Stephens edited this page Sep 12, 2023 · 1 revision

See this link for good description of IDs in mastodon

  • In essence, if you are working with posts coming from 1 server (e.g., Mastodon Social), then you are fine to use the id data field as a unique identifier because the id is unique to that server.
  • However, when a post from one server is delivered to a second server, it is given an id and uri that is unique to that second server. Thus you must be carefully when trying to merge/combine posts across servers (e.g., better to use the uri to avoid clashes in ids).