Allowing users to "Like" database post.
Posted: Wed Oct 14, 2015 2:43 am
by Samuel Jacob O'Connell
Is there a way to create a function similar to facebooks "like" function? Where a user can press a button and 1 number gets added to a counter tied to a user created database post, but if pressed again it would "unlike" or subtract 1.
Let me know! Thanks.
Allowing users to "Like" database post.
Posted: Wed Oct 14, 2015 8:05 am
by Serhii Kulibaba
Hello Samuel,
Sure, you can add such functionality. You can save all users which liked post in an additional column or additional collection
Allowing users to "Like" database post.
Posted: Wed Oct 14, 2015 12:45 pm
by Samuel Jacob O'Connell
Thanks for the input Sergiy! Is there a tutorial out there that can walk me through the process?
Allowing users to "Like" database post.
Posted: Thu Oct 15, 2015 9:50 am
by Illya Stepanov
This is basically would be the logic with database, all the methods you can find in our Docs: https://devcenter.appery.io/documenta...