Frère Jacques on Nostr: I used the #mastodon #api to get all the users who boosted a toot within a certain ...
I used the #mastodon #api to get all the users who boosted a toot within a certain time range for a christmas lottery.
There was something I stumbled over and I think here might be the right place to ask :).
So I assumed the user ID is only unique within ones own instance. So I thought when I get the list of people who boosted the toot, I need to use the user ID together with their individual instance and make a request to the users instance.
Published at
2024-12-08 09:44:21Event JSON
{
"id": "609d90f73d359dbb91844ed61386067e122a65da129951b8d0c68e508e9f9c20",
"pubkey": "15467fdb514e386833491ccbfaa1c4cf5e46b0473b1a925dbd5e01e57b824c35",
"created_at": 1733651061,
"kind": 1,
"tags": [
[
"t",
"mastodon"
],
[
"t",
"api"
],
[
"proxy",
"https://chaos.social/users/frere_jacques/statuses/113616555985507425",
"activitypub"
]
],
"content": "I used the #mastodon #api to get all the users who boosted a toot within a certain time range for a christmas lottery.\n\nThere was something I stumbled over and I think here might be the right place to ask :).\n\nSo I assumed the user ID is only unique within ones own instance. So I thought when I get the list of people who boosted the toot, I need to use the user ID together with their individual instance and make a request to the users instance.",
"sig": "8bb6e5a5428f3bafc69e4beb6db92946ff9fdb9d5d304edd35d9dcbb9a93e27b9d56c2826a5e1b203b415dca29543c01e3196ab3292c82355223fda6427c36c4"
}