how to create a workflow for users to be able to follow each other just like on instagram
https://puu.sh/CS3tI.png
https://puu.sh/CS3v4.png
https://puu.sh/CS3vm.png
https://puu.sh/CS3vT.png
https://puu.sh/CS3w9.png
https://puu.sh/CS3xw.png
thanks ill check it outâŚhowever what is meant by uâs retrieved user?
its just a user, i replied to one of your other posts with gibu by @keith
if you look at that you will understand
thanks @anon65040322 for your help, now iâm left with creating a notification message for this ? say when the user iâm following posts something i get a notificationâŚ?
Hey @withabed, I wrote some very long explanations of how this all works in the original thread where I explained the technique:
^^^ start here and see my other replies in thread for more explanation
(Thx for the mention, @anon65040322)
can you send me the (anyone can view) link please i cant seem to open the other one?
so how does the follow system work here, im a bit lost⌠?
im looking for one that works just like instagram and others?
ymw Kieth
Note that @anon65040322 showed the basic follow/unfollow technique: Just put a field âFollowersâ or âFollowingâ (depending on how you like to set this up) on the Thing that can be followed.
In @anon65040322âs example, his User object (User data type) has a list of Users on it called âFollowingâ. So, if User1 wants to âfollowâ another user (User2), you just add User2 to User1âs Following list.
If User1 no longer desires to âfollowâ User2, you just remove User2 from User1âs Following list.
Thatâs what he shows.
The other part you asked about (âwhatâs this âretrieved userâ state about?â) is a component of how @anon65040322 uses a technique illustrated by the âgibuâ demo app I created. That technique is a way of having URLs for profile pages (or whatever) where instead of the URLâs path having the unique ID of a Thing in it, the URLâs path looks like it has a more friendly name (like a âusernameâ field on the User).
In terms of the follow/unfollow example, itâs just âsome User objectâ. What is implied is that Current User is on some page of User type where the User being displayed is represented by uâs RetrievedUser. That expression is just âthe User that Current User wants to follow or unfollowâ in this context.
The âgibuâ demo app does not illustrate follow/unfollow features, it just demonstrates a pretty comprehensive way to do these âfriendly URLsâ.
@keith & @anon65040322 i have successfully created a user follow system my database is showing that thanks to you guys, but the challenge now is im struggling to create a notification workflow where by when the user who is being followed posts something the user who is following them gets a notification?