-
Notifications
You must be signed in to change notification settings - Fork 333
Follow a person
engelnyst edited this page Jul 16, 2013
·
2 revisions
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.