Add example like activity

This commit is contained in:
Anthony Wang 2023-01-18 15:44:25 -05:00
parent 4fbf68e700
commit 0dbfb50f15
No known key found for this signature in database
GPG key ID: 42A5B952E6DD8D38
4 changed files with 16 additions and 8 deletions

View file

@ -4,10 +4,10 @@
"actor": "https://0.exozy.me/users/test.jsonld",
"object": {
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://social.exozy.me/3dee8471-202d-438f-be51-8870fd797f9a",
"id": "https://social.exozy.me/9a9e4ad7-f86a-4190-8782-9df9951c5ff6",
"type": "Follow",
"actor": "https://social.exozy.me/users/guest",
"actor": "https://social.exozy.me/users/a",
"object": "https://0.exozy.me/users/test.jsonld"
},
"to": "https://social.exozy.me/users/guest"
"to": "https://social.exozy.me/users/a"
}

View file

@ -1,13 +1,13 @@
{
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://0.exozy.me/users/test.outbox#helloworld",
"id": "https://0.exozy.me/users/test.outbox#helloworld2",
"type": "Create",
"actor": "https://0.exozy.me/users/test.jsonld",
"object": {
"id": "https://0.exozy.me/users/test.statuses/helloworld",
"id": "https://0.exozy.me/users/test.statuses/helloworld2",
"type": "Note",
"attributedTo": "https://0.exozy.me/users/test.jsonld",
"content": "Hello from fuwuqi!!! 🙃",
"content": "Hello from fuwuqi 2.0!!! 🙃",
"to": "https://www.w3.org/ns/activitystreams#Public"
},
"to": "https://0.exozy.me/users/test.followers"

View file

@ -3,6 +3,6 @@
"id": "https://0.exozy.me/users/test.outbox#follow",
"type": "Follow",
"actor": "https://0.exozy.me/users/test.jsonld",
"object": "https://social.exozy.me/users/guest",
"to": "https://social.exozy.me/users/guest"
"object": "https://social.exozy.me/users/a",
"to": "https://social.exozy.me/users/a"
}

8
like.jsonld Normal file
View file

@ -0,0 +1,8 @@
{
"@context": "https://www.w3.org/ns/activitystreams",
"id": "https://0.exozy.me/users/test.outbox#like",
"type": "Like",
"actor": "https://0.exozy.me/users/test.jsonld",
"object": "https://social.exozy.me/@a/109707513227348721",
"to": "https://social.exozy.me/users/a"
}