userId
, the system will send the request to the target user. Until the target user accepts the follow request, the connection will not yet be established.userId
, the system will automatically establish the connection between 2 users.AmityUserRepository
and are able to call through followManager
AmityUserFollowManager
Accept
: this status means the target user has already connected to the SDK method caller.Pending
: this status mean the target user has already received the follow request from the SDK method caller. This status will only available when the connection method setting is With request processNone
: this status mean the target user has not connected to the SDK caller.userId
who you want to follow and we will do the rest. please try the following code.MyFollowerListViewController.
The code demonstrates how to subscribe a real-time event, and observe data updates through the life-time of the page.MyFollowerListViewController
subscribes a real-time event, and observes data updates through its life-time.