How to Allow Users to Follow Others
Setting up the Data
1) Add a Following relationship to your Users table

2) Add a Followers relationship to your Users table

Set up Following? using a toggle
1) Set up the text label

2) Set theToggle and add the current user to users that the logged in user is following

3) Set up an action to add the logged in user as a follower of the current user

4) Set up an action to remove the logged in user as a follower of the current user

Set up following users with buttons
1) Add the Follow button

2) Set up an action to add the current user to the Logged in User's Following list.

3) Set up an action to add the logged in user to the current user's list of followers

4) Set up the Follow button to be conditionally visible

5) Add the Unfollow button

6) Set up an action to remove the current user from the list of users that the logged in user is following

7) Set up an action to remove the logged in user form the current users list of followers

8) Set up the Unfollow button to be conditionally visible

PreviousHow to set up a Public Profile screen for UsersNextHow to have a Form Automatically Set a Relationship
Last updated
Was this helpful?