swicg / general

General issue tracker for the group

Home Page:https://www.w3.org/community/swicg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unfollow

opened this issue · comments

Probably a simple answer to this but I can't find it in the specs. How do you Unfollow? I see no object type for it, and it isn't in the list of supported 'undo' activities.

The only way I can determine at present is to delete the original follow activity, but this presents some logistical issues if the follow occurred long ago and you don't have the original object lying around any more (perhaps it was expired) or can't easily locate it.

How are other folks doing this?

Remove-> object Person from target 'followers collection' ? Seems clumsy given that that it is not a direct inverse to Follow.

(related but off-topic):
It also comes to mind that a follow activity could also be represented as posting a Create->Person to the followers collection, (so an unfollow could be posting a Delete->Person to that collection), but the followers collection isn't required and probably shouldn't be. But it would take follow/unfollow out of the inbox where it needs special handling anyway; as following is the only action some services allow without existing permission.

Found it buried in section 6.9 of activitypub, which seems to override the list of inverse activities in activitystreams. Closing, although this does imply that we need keep the id of the original follow activity forever; including those that don't exist in activitypub because the relationships predate the protocol adoption for that service.