Follow a person - pump-io/pump.io GitHub Wiki
To make [email protected] follow [email protected], POST an activity to alice's feed (https://social.example/api/user/alice/feed) like this:
{
"verb": "follow"
"object": {
"objectType": "person",
"id": "acct:[email protected]"
}
}
Following someone on the same server uses a full Webfinger ID, also:
{
"verb": "follow"
"object": {
"objectType": "person",
"id": "acct:[email protected]"
}
}
Posting a follow activity will update both users' social graph. Any new activities that Bob posts to his followers will automatically be sent to Alice, also.
This activity can fail for a number of reasons:
- Alice already follows Bob.
- The ID for Bob is invalid.