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.
AmityUserRepositoryand are able to call through
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 process
None: this status mean the target user has not connected to the SDK caller.
userIdwho 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.
MyFollowerListViewControllersubscribes a real-time event, and observes data updates through its life-time.