Enable users to manage their incoming follow requests for a more personalized and secure social experience. Accepting or declining requests gives users control over who can follow them and see their updates.

Accept Requests

Approve follow requests to allow new followers and expand your network.

Decline Requests

Decline requests to maintain privacy and control your audience.
Accepting a follow request adds the user to your followers and allows them to see your updates. Declining removes the request and prevents updates from being shared.

Product Behavior

  • Accepting a request adds the user to your followers and enables feed updates.
  • Declining a request removes the request and blocks feed updates for that user.
  • If a request is no longer available (withdrawn, already accepted/declined), the SDK returns an error.

Accept Follow Request

// Accept a follow request
do {
    let result = try await userRelationship.acceptMyFollower(withUserId: "<user-id>")
} catch {
    // Handle error here
}

Decline Follow Request

// Decline a follow request
do {
    let result = try await userRelationship.declineMyFollower(withUserId: "<user-id>")
} catch {
    // Handle error here
}
If the follow request is no longer available (withdrawn, already accepted/declined), the SDK will return an error. Always handle errors gracefully and inform the user.