Questions tagged [social-media-like]

For topics related to the "like" functionality in social networks such as Facebook, YouTube, etc. For Facebook's "like" functionality, there is also the more specific tag [facebook-like].

81 questions
0
votes
1 answer

Seperate like button for each while statement returned

I need to get a like button for each post, so that each time the while returns results each of those results has a like button unique to them, the issue I am having right now if the person can vote for one, but that's it, and all the other seperate…
0
votes
1 answer

Efficient way to implement Likes features in a video application

I have a video based project.In this project I want to implement Likes features. That is there is a hyperlink on each video with the total like count and when user clicks on that hyperlink after then hyperlink is to be hidden and only show Liked…
Johnson
  • 33
  • 4
0
votes
1 answer

Get tumblr like button to work with infinite scrolling

I'm trying to get the tumblr like button to work with infinite scrolling. Below is my code that doesn't work. And after is a code that does work. I am unfamiliair with Javascript so Im not sure how to mesh them to make it work function( newElements…
0
votes
1 answer

Getting Error 400 when calling Instagram API in Objective-C

I am writing an app in iOS that integrates to Instagram. I am getting an Http Error 400 from Instagram when using the Like API call. The other API calls are working fine however. Here is part of my code where I post the request { …
0
votes
1 answer

Inserting multiple id's in a mysql query?

I'm trying to do a like/unlike function for a website. I made a single working one which is connected to a database table called 'posts'. The table 'posts' has 4columns called id, name, like, unlike. My problem is that I now want to use the same…
0
votes
1 answer

Instagram POST "like" in PHP isn't working any more?

Today I tried to post a like via PHP (Curl) without luck. The output is that a token is required but I used a working token. I tried the same token with JS and it works. Did Instagram changed some things bout PHP? Here is my code:
0
votes
1 answer

Logic behind showing the previously liked buttons as Unlike

I have 2 different tables: reputation and posts. POSTS have details related to it like post_id, user_id, post_content... and so on. REPUTATION have details like post_id and user_id. If a pair exists in the table then the post_id has been +1'ed by…
Dangling Cruze
  • 3,283
  • 3
  • 32
  • 43
0
votes
1 answer

SoundCloud Custom Player

I am trying to build a custom player like that one that is given in the example section: https://github.com/soundcloud/soundcloud-custom-player/tree/master/examples (minimal) The big problem for me is to include a like button and I was wondering if…
Julius
  • 102
  • 1
  • 9
0
votes
1 answer

Running if statement based on the results of multiple selections

this is probably going to require something very basic but I can't find an answer to do this in the way I want it to work. What I have is a mysql table of articles and a table of favourites where if you like an article the information is logged. …
user2516546
  • 111
  • 1
  • 2
  • 9
0
votes
2 answers

Javascript for like system

I have a newsfeed and have created a like system for it. I have the following code for my newsfeed and like system part of the page:
0
votes
1 answer

Yammer Like Button Not Working... TypeError: yam.helper is undefined

I am using yammer's like button. I have tried every browser under the sun. They all have the same funcationality. First page load they will load the JS and the like button perfectly... However after the first page load any subciquent load of the…
Jamie Hutber
  • 26,790
  • 46
  • 179
  • 291
0
votes
1 answer

Like button does not update with AJAX

I am passing a collection (@feed_items) to a _feed_item partial via the :collection option and converting it to dailypost with :as => :dailypost. Inside the _feed_item partial I rendered another partial for _like_button, and i used :locals to…
Serge Pedroza
  • 2,160
  • 3
  • 28
  • 41
0
votes
3 answers

MySQL - Get most "liked" users in the past month

I have a "like" system on a community forum. All internal likes are stored in a database called log_like. CREATE TABLE `log_like` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_member` mediumint(8) NOT NULL, `id_message` int(10) NOT NULL, …
BornKillaz
  • 592
  • 7
  • 19
0
votes
3 answers

Rails: Finding the Right Item in a Model

Problem: Looking for the right comment that belongs to a post I am trying to implement a "like" function (just like on facebook) for comments on a specific post. I've already implemented the same function for my posts, but "pointing at the right…
Maximus S
  • 10,759
  • 19
  • 75
  • 154
0
votes
1 answer

Fuelphp Profile Like logic or example

So I'm a bit lost at this part. On my site I would like the give the ability for users to like profile pages. So my logic is this. I have a database table named user_likes, this contains 3 rows, id, user_id, liked_by. The actual profile page has a…
Side
  • 1,753
  • 9
  • 35
  • 64