Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 522 Bytes

follow-unfollow.md

File metadata and controls

21 lines (16 loc) · 522 Bytes

Follow / Unfollow

To follow a users feed, publish this contact message:

ssb-server publish --type contact --contact {feedId} --following
sbot.publish({ type: 'contact', contact: feedId, following: true }, cb)

Scuttlebot will query peers for new messages from this feed.

To stop following a user, publish this contact message:

ssb-server publish --type contact --contact {feedId} --no-following
sbot.publish({ type: 'contact', contact: feedId, following: false }, cb)