How to establish some users as users followed by all other registered users

Hi @amitysupport, I have a group of users that I would like to establish as users followed by all other registered users.

I attempted to achieve this from the backend using the endpoint /api/v4/me/following/{userId}. However, I realized that it needs to be executed for the user when their session is active, and unfortunately, I couldn’t accomplish this from the backend.

How can I achieve this from the backend side?

Hello, we’ll pass this on to our team for examination and will stay in touch with you for updates.

Hello ,

Here are two possible solutions:

Option 1: Backend Script
Write a backend script to loop through all users.
Call the api/v3/sessions endpoint to get access tokens.
Use the obtained access tokens to follow the desired users.

Option 2: Front End Integration
Embed the follow functionality in the frontend.
After a successful login, make a call to follow the specified users.

Best Regards
Support team

1 Like