# Just a simple like button

**URL:** <https://forum.bubble.io/t/just-a-simple-like-button/222587>\
**Category:** Need help\
**Created:** [September 1, 2022, 11:34am UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587 "2022-09-01T11:34:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![nrpcrypto7](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nrpcrypto7](https://forum.bubble.io/u/nrpcrypto7)\
**Post date:** [September 1, 2022, 11:34am UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/1 "2022-09-01T11:34:04Z")

</div>

Hi guys, i have a simple like button on my app, it is set up like facebook is (kindof)

My problem is i display posts in a repeating group aswell as the button, so when one post is liked they all are. I feel like there could be an easy fix here i just cant crack it.

Any help highly appreciated!

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [September 1, 2022, 11:58am UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/2 "2022-09-01T11:58:10Z")

</div>

Hi there, @nrpcrypto7… these links should help.

> [@(solved) Creating a like button, just like below this post](http://forum.bubble.io/t/solved-creating-a-like-button-just-like-below-this-post/3410):
>
> Hi again folks, On my users posts I am trying to create the same like button as we have below this post. If 10 people like then the number shows ten likes and the love icon remains red. Even when the next time user logs in. Trying to think multiple ways on how to set the data structure. I was thinking of adding a field type ‘likes’ in Users and setting that as yes/no. Then on the love icon, I could put a condition saying, if the current user’s like is yes, change the color to red. Then I a lo…

> [@+1 Like and upvote buttons - The fastest method](http://forum.bubble.io/t/like-and-upvote-buttons-the-fastest-method/93005):
>
> After testing out several ways to build custom Like buttons and up/down voting systems, I’ve discovered the fastest method. What doest work At first it might seem obvious to implement a workflow that adds +1 to a like button or upvote. However, this makes it hard to keep track if current user has already added a like or a vote, and makes it near impossible to then “unlike” the liked post. Another method is to have a “likes” database. Then to retrieve the total likes or upvotes is to do a sear…

> [@I want to create a like button](http://forum.bubble.io/t/i-want-to-create-a-like-button/57986):
>
> i created a like button and i want to click it and display the count of the likes but am having an issue on how to set a condition that when the current user likes a post in a repeating group he wont be able to click again instead am getting the condition across all the post

[![](https://img.youtube.com/vi/owjfzr7aqwQ/maxresdefault.jpg "How to Add "Likes" to Your Bubble.io No Code Web Apps Slideshow") ](https://www.youtube.com/watch?v=owjfzr7aqwQ)

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [September 1, 2022, 12:13pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/3 "2022-09-01T12:13:32Z")

</div>

> My problem is i display posts in a repeating group aswell as the button, so when one post is liked they all are.

Are you saying that you _want_ all posts to be liked then one post like button is clicked, but don’t know how to do that?

Or are you saying that you _don’t_ want that to happen, but it currently is happening?

---

<div class="post-metadata">

**Author:** ![nrpcrypto7](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nrpcrypto7](https://forum.bubble.io/u/nrpcrypto7)\
**Post date:** [September 1, 2022, 12:18pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/4 "2022-09-01T12:18:16Z")

</div>

sorry my explanations are terrible! I mean when like is clicked on one post, because its a repeating group it +1 like to all posts. I only would like the particular post you click on and like to show the like count instead of every post.

I hope that helps … thankyou for your time!

---

<div class="post-metadata">

**Author:** ![adamhholmes](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/adamhholmes/32/100510_2.png) [@adamhholmes](https://forum.bubble.io/u/adamhholmes)\
**Post date:** [September 1, 2022, 12:24pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/5 "2022-09-01T12:24:01Z")

</div>

> [@nrpcrypto7](#):
>
> I mean when like is clicked on one post, because its a repeating group it +1 like to all posts

Well that certainly shouldn’t happen (unless you’re doing something very wrong)…

But without knowing what you’re doing, it’s a bit hard to help…

Feel free to share some more info and/or screenshots of what you’re currently doing…

But if your like button is inside the RG cell, you can refer to the current cell’s post in any workflows, so the ‘like’ should only be created for that specific post.

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [September 1, 2022, 12:24pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/6 "2022-09-01T12:24:26Z")

</div>

I’m sure Adam will walk you through it, but for what it’s worth, literally every one of the links I provided could help you here. Anyway, good luck!

---

<div class="post-metadata">

**Author:** ![nrpcrypto7](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nrpcrypto7](https://forum.bubble.io/u/nrpcrypto7)\
**Post date:** [September 1, 2022, 12:30pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/7 "2022-09-01T12:30:04Z")

</div>

thankyou i am working my way through your links it’s much appreciated!

---

<div class="post-metadata">

**Author:** ![nrpcrypto7](https://avatars.discourse-cdn.com/v4/letter/n/779978/32.png) [@nrpcrypto7](https://forum.bubble.io/u/nrpcrypto7)\
**Post date:** [September 1, 2022, 1:05pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/8 "2022-09-01T13:05:53Z")

</div>

Im going to have to look into this more, i cant get any screenshots currently but as soon as i can i will get back to you guys! Im sure this shouldnt be breaking my brain but it for sure is 😀

---

<div class="post-metadata">

**Author:** ![jangidrahul0494](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jangidrahul0494/32/234895_2.png) [@jangidrahul0494](https://forum.bubble.io/u/jangidrahul0494)\
**Post date:** [September 1, 2022, 1:14pm UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/9 "2022-09-01T13:14:55Z")

</div>

I think the problem may arise in the data source of the group where the button is placed or may be the workflow.  
The workflow will be like when you clicked the button make changes to a thing and the thing will be “Parent group post” and change the field.

I hope it will help you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [November 10, 2022, 11:34am UTC](https://forum.bubble.io/t/just-a-simple-like-button/222587/10 "2022-11-10T11:34:23Z")

</div>

Closed on November 10, 2022, 11:34am UTC

This topic was automatically closed after 69 days. New replies are no longer allowed.
