Hi! I am having trouble creating the matching logic for tinder or bumble i.e. when both mutually like each other —> then there should be a match. ?
The match should only take place if both like each other, but in a way that its scalable data wise…
@ambroisedlg any tips on how to do this i.e. and how to put the logic of when user 2 likes user 1 back…?
Hey @gunbir007
Thanks for tagging me on this, I think all the info you need can be found here: https://bubble.io/blog/build-no-code-tinder-clone/
Feel free to post again here if you’re still having issues, happy to help
Ambroise
Need extra help?
Book a free 15 minutes call - happy to help if I can
Hello,
I integrated a tinder-like model in my app, it includes:
- Searching for the more pertinent user (with language and distance)
- Custom swipe and animation
- every 4 swipes, user see someone who likes him, too boost match chances
- advertising
So if you still need help you can reach me 
But the problem with their clone is that the user matches with another user when he swipes right but in fact he should match when both user1 and user 2 swipe right!
That logic seems rather complex and high level! Any tips from either of you would be golden!
@vnihoul77
@gunbir007
There are several ways to do this. One of which would be to have the following fields in your User data type:
- Matched Users (list of Users)
- Liked Users (list of Users)
Whenever User1 ‘likes’ User2:
- if User1 is in User2’s Liked Users --> add User2 to User1’s Matched Users, and add User1 to User2’s Matched Users
- if User1 is not in User2’s Liked Users --> add User2 to User1’s Liked Users
Hope that helps a bit
Ambroise
Need extra help?
Book a free 15 minutes call - happy to help if I can
system
Closed
6
This topic was automatically closed after 70 days. New replies are no longer allowed.