Skip to content

Commit

Permalink
start to add follow
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Jan 26, 2023
1 parent 04322de commit 38678d1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The goal is to create a collction that can be used by someone in a clean room en
- [Create Post](create-post.md) - Toot/Tweet/Post
- [Move Post](move-post.md) - User Migration
- [Delete Post](delete-post.md) - Toot/Tweet/Post Deletion
- [Follow Post](follow-post.md) - Follow Account


Webfinger is described quite well at the following https://webfinger.net/ and should be considered essential reading as it is used across the fediverse.
Expand Down
18 changes: 18 additions & 0 deletions follow-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Follow -> Post


Published time should be in [RFC3339](https://www.rfc-editor.org/rfc/rfc3339) and look like the following `2006-01-02T15:04:05Z07:00`


```json
{
"@context": "https://www.w3.org/ns/activitystreams",
"actor": "https://some.instance/u/%s",
"id": "https://some.instance/u/%s/sub/%s",
"object": "%s",
"published": "%s",
"to": "https://some.instance/u/%s/inbox",
"type": "Follow"
}
```

0 comments on commit 38678d1

Please sign in to comment.