Accept/Decline Follow Request
Last updated
Was this helpful?
Last updated
Was this helpful?
The SDK product provides two important methods for managing follow requests between users: accept follow request and decline follow request. These methods enable users to accept or decline requests to follow other users within the app, promoting a more personalized and engaging user experience.
To accept a follow request from another user, users can call the acceptMyFollower
method within the SDK and provide the userId
of the user whose follow request they wish to accept. This will add the user to the list of followers and allow them to receive updates within Global feed and User feed.
Similarly, to decline a follow request from another user, users can call the declineMyFollower
method within the SDK and provide the userId
of the user whose follow request they wish to decline. This will remove the user's request to follow and prevent them from receiving updates within Global feed and User feed.