-
Notifications
You must be signed in to change notification settings - Fork 0
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 theid
is unique to that server. - However, when a post from one server is delivered to a second server, it is given an
id
anduri
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 theuri
to avoid clashes in ids).