Notices where this attachment appears
-
Embed this notice
@gabriel I'll give you instructions using the shell, modify for any programming language:
if you have a handle, you get the actor URL like this:
curl -s "https://mk.gabe.rocks/.well-known/webfinger?resource=acct:gabriel@mk.gabe.rocks" | jq -r '.links[] | select(.type == "application/activity+json") | .href'
gets you:
https://mk.gabe.rocks/users/9738e4n8u0
then you query it like this to get the outbox:
curl -s -H 'Accept: application/activity+json' https://mk.gabe.rocks/users/9738e4n8u0 | jq -r .outbox
The box is (maybe) paged so you need to query the first page:
curl -s -H 'Accept: application/activity+json' https://mk.gabe.rocks/users/9738e4n8u0/outbox | jq .first
https://mk.gabe.rocks/users/9738e4n8u0/outbox?page=true
query that:
curl -s -H 'Accept: application/activity+json' "https://mk.gabe.rocks/users/9738e4n8u0/outbox?page=true"
the property "orderedItems" will get you the raw activitypub objects. you can filter on
type: Note
and get the "content" property and you'll get the HTML content of the post.
To get the next page of results, then get the "next" propert, for example yours is:
"next": "https://mk.gabe.rocks/users/9738e4n8u0/outbox?page=true&until_id=a4imasfct8"
I am assuming that your outbox is formatted a specific way, it's possible it's not paged, in which case some of the queries are different but I am pretty sure 100% of outboxes will work.
also lmao a lot more complicated than RSS.
Let me know if you need more info.