Component Introduction
In the live broadcast scenario, the "follow the host" function is an important way of interaction. It allows viewers to choose to follow a specific host, thereby establishing a long-term interaction and attention relationship on the live broadcast platform. TUILiveKit has implemented the "follow the host" function through instant messaging IM.
The follow function allows users to select other users they are interested in so that they can obtain the latest dynamics, releases or activity information of these users in a timely manner. You can provide personalized content recommendations based on the user's follow list.
The fan function refers to the status of a user being followed by others. When user A follows user B, A becomes a fan of B.
Through following and fans features, social apps and websites are able to create an active, interconnected network of users, promoting the spread of information and the building of communities.
Prerequisites
TUILiveKit's follow host function relies on the follow & fans related APIs of IM, so you need to activate the IM related package. For details, please refer to the Follow&Fan document。 Functional Demonstration
Follow the host: You can click the follow button in the live broadcast room information area in the upper left corner of the live broadcast interface to follow the host.
Unfollow: You can unfollow the host by clicking the ✔ button in the live broadcast room information area in the upper left corner of the live broadcast interface.
Check the number of the anchor's fans: You can click the live broadcast room information area on the live broadcast interface to pop up the live broadcast room details panel, which will display the number of the anchor's fans.
Was this page helpful?