Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

I am having issue with htmx and django

I am trying to create a social media add friend system with django and htmx. I keep getting 403 Forbbiden which is associated with invalid csrf token. I have tried to fix it but to no avail. views.py ...
Chinyere Unamba's user avatar
1 vote
0 answers
582 views

How can I detect bad word in any languages

I am making a social media application and I need to detect bad words if anyone type in message and give him warning. I did not try to make it, but there are some condition for detecting bad words : ...
Manglam Industrial Product's user avatar
0 votes
1 answer
306 views

How to implement Like feature similar to Instagram with Django using ajax?

hi I have been making a social media site with a like feature similar to Instagram where user does not need to view the individual post to like it but can like that post directly from the main page , ...
sameerAhmedjan's user avatar
0 votes
1 answer
844 views

Android - Display social media like stories

I wanted to create a stories display feature, eg like on instagram, but with a different background template for each story. I was trying to find a library for it but the only one I found is StoryView,...
MADi's user avatar
  • 43
0 votes
1 answer
35 views

LINE's "add friend" bottons on webpage disappear if the webpage is delivered via Cloudflare proxy

Our website has been serverd via Cloudflare proxy for a long time and everything goes well. Recently we wanted to place social media buttons on the webpages, we have buttons for LINE and for Facebook. ...
Ray Yen's user avatar
  • 77
-1 votes
1 answer
312 views

React native Social Media App Architecture

I am creating a social media application in react native. This application will be based on offline-first app architecture. As i am new to react native, I have come across multiple things like state ...
Developer_vaibhav's user avatar
1 vote
0 answers
613 views

Basic Social Media Integration, Flutter Web

I'm trying to implement social media integrations for my flutter application, deploying to both mobile and web. The mobile implementation with the share package is working just fine, but since web is ...
Negimaki's user avatar
1 vote
1 answer
311 views

Where can i host my webapp which use mongodb as a backend server

I have created a project with MERN stack and want to host it. But as i came to know that netlify.app hosting site doesnt support hosting for database related projects as my project includes mongodb as ...
Saitama's user avatar
  • 11
2 votes
2 answers
1k views

Getting number of likes for a user in all his posts using mongodb

Hi I want to build a leader board that will rank users based on the likes they have accumulated in all their posts. My database for Posts user: { type: Schema.Types.ObjectId, }, text: { ...
Sarthak Agrawal's user avatar
1 vote
1 answer
259 views

Why does Twitter's API provide a way to programmatically create "Likes," if it goes against their Automation rules?

I was looking into using Twitter's official REST API for automatically liking specific posts that fit certain conditions. I looked into the API reference to see if this was possible—and in fact, ...
nandtrocity's user avatar
0 votes
1 answer
808 views

How can I return a number of likes in laravel withe ajax

here is my app.blade $('.like').click(function(event) { var id = $(this).data('id'); $.ajax({ url: "{{route('post.like','')}}/"+id, }) }); and here is my AdsController.php ...
souma's user avatar
  • 9
2 votes
1 answer
3k views

Implementing like and unlike functionality in Swift using Parse

I am trying to implement a like/unlike feature in my iOS app using Swift 2.0, Storyboard, and Parse where users can like/unlike posts created by other users or themselves - just like Instagram, ...
dnadri's user avatar
  • 173
1 vote
1 answer
8k views

Can we access the 'Like' timestamp in Twitter?

I am aware that using Twitter API endpoints, we can access the timestamp for a tweet or retweet. Can we access the timestamp when a user liked (or favorited) a tweet?
Sriram's user avatar
  • 1,039
2 votes
1 answer
105 views

About like system (such as facebook like system) using myisam Mysql

One problem I have them is 'like system' such as facebook like system. I making the program using foreign hosting site having myisam mysql. as you know the myisam mysql has not transaction system. so ...
gunheekim's user avatar
3 votes
1 answer
131 views

Rails 4 Ajax like button failing to wоrk

Im struggling to make my Like links to work with ajax. After clicking on "Like" nothing changes, only after refreshing the page I can see that like got counted. EDIT: Addet routes. EDIT2: I inspected ...
Jakub Kopyś's user avatar
0 votes
2 answers
544 views

Building a form for a like button in a polymorphic relationship in Rails

I'm trying to build a form for a like button. This like model is polymorphic to different types of Models (comments / posts / etc.) and belongs to a certain user. When this user is viewing a blog ...
bo-oz's user avatar
  • 2,862
1 vote
2 answers
968 views

Instagram API Likes on Media does not have pagination

I am trying to return all the users who have liked a specific post in Instagram, but it seems to be only returning 120 of the users who have liked the image. https://instagram.com/p/73rVHrnFqS/ ...
Jason Paul's user avatar
4 votes
1 answer
6k views

Implementing a like button in a tableviewCell in swift

I am trying to make a like button in each of my tableview cells. When it is pressed, the button will change to "unlike". I was able to do this by creating an IBOutlet in my subclass and an IBAction ...
HS__HS's user avatar
  • 103
1 vote
2 answers
212 views

Adding a Like Button which doesn't require User Model

I'm trying to add a like button to my rails site so I've looked at the acts_as_votable gem and the Active Record Reputation System gem. However, both of these require a User Model (I think), and I ...
Jill's user avatar
  • 533
2 votes
3 answers
3k views

MongoDB multiple simultaneous accesses to one document [closed]

I am building a social network app and I am very concerned about next thing.What happens when in mongoDB a lot of users(let's assume millions) try to modify the same document at the same time. Will ...
Grisha  Gevorkyan's user avatar
4 votes
1 answer
2k views

Rails Acts_as_votable Gem Like/Unlike Buttons with Ajax

I'm new to Ruby On Rails, I used the acts_as_votable gem to create Like and Unlike Buttons to make Users like and unlike Posts but I can't make them change from Like to Unlike (and viceversa) and ...
orim's user avatar
  • 41
2 votes
0 answers
143 views

Tumblr Like Buttons are Unclickable with Infinite Scroll

It's a similar issue to 16390193, but I still can't figure out how to get it to work (I'm not a web developer...). My test site is http://testooop.tumblr.com/ (based on copycat theme). Here are some ...
user avatar
1 vote
1 answer
555 views

Socialization likes

I start to use Socialization gem. So, created User model with devise: class User < ActiveRecord::Base has_many :posts devise :database_authenticatable, :registerable, :...
Artyom Gunkin's user avatar
1 vote
1 answer
1k views

PHP like button(counter) inside a table

I have a table made in php and inside that table I show some content from my database. I have created a simple button (similar to like) in every td and I want it to increase by 1 with every hit. Here ...
tmachot's user avatar
  • 13
0 votes
2 answers
339 views

Unable to like media in instagram from any access token

Since 3 or 4 days ago i'm not able to like any photos from any token, I think they blocked me to like. I still can follow/unfollow users via my application. I also can like photos via instagram iOS ...
Valery Fludkov's user avatar
0 votes
1 answer
705 views

Instagram restrictions for Like permission

Since 4 days Instagram wants you to fill a form to get permission to any post action, like following someone through the Instagram API. In the moment I am developing an Like App for Instagram (you ...
Erik Lüth's user avatar
1 vote
1 answer
344 views

Refreshing a specific div id among many divs onclick href having that same id

I want to display like count for that post the user likes, every post like href has a specific id, now if I am clicking the post having id 222. Then like count having id 222 will refresh. <a href="...
Priya Majumder's user avatar
0 votes
1 answer
619 views

Limit user to 1 like?

How can we limit a user to 1 like per comment? comments_controller.rb def like @comment = Comment.find(params[:id]) @comment.increment!(:likes) @comment.create_activity :like ...
AnthonyGalli.com's user avatar
0 votes
1 answer
281 views

Get media likes with real-time photo updates API

With the real-time photos update (https://instagram.com/developer/realtime/) it's possible to have some push updates when a media is created, or when a media with a specific tag is posted, etc. Is ...
gromez's user avatar
  • 1
1 vote
1 answer
4k views

How can I like a Video using the YouTube Data API v3

I am using the YouTube Data API V3 in Java and I am trying to "like" a video. I am using the following method: private static String insertPlaylistItem(String playlistId, String videoId) throws ...
Dominik's user avatar
  • 1,022
0 votes
1 answer
1k views

'Like/Unlike' button with Rails 4

I'm trying to create a simple Like/unlike button with Rails 4. I tried to do this with socialization gem, but after one day of struggling I gave up and decided to modify M. Hartl's 'foollow' mechanism ...
qwerty1234's user avatar
0 votes
1 answer
2k views

Yammer embed action (follow and like)

Has anybody got the Yammer embed API for Follow and Like to work in a SharePoint site? I can get the buttons to appear and when I click on them they change to Liked and Followed but nothing is posted ...
BrettvG's user avatar
0 votes
1 answer
95 views

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 ...
user3796173's user avatar
1 vote
0 answers
270 views

VK Like Widget: show 0 instead of +1

In VK Like Widget, in counters, is there any way to show 0 instead of +1 when nobody likes item? I'm initializing my button via VK.Widgets.Like("vk_like", {type: "button", pageUrl: absUrl});
Anhayt Ananun's user avatar
1 vote
0 answers
936 views

Instagram like-list is incomplete

I've made a little photosite, where users can watch and like images. If an image has already been liked, then it should be unliked - and vice versa. The problem is that Instagram returns an ...
Anders's user avatar
  • 279
0 votes
1 answer
202 views

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 ...
Johnson's user avatar
  • 33
13 votes
1 answer
14k views

Like button Ajax in Ruby on Rails

I have a Ruby on Rails project with a model User and a model Content, among others. I wanted to make possible for a user to "like" a content, and I've done that with the acts_as_votable gem. At the ...
gd_silva's user avatar
  • 1,015
1 vote
2 answers
939 views

Replacing Social Media Icons with Custom Images

I'm wondering how to replace my social media icons with my own custom images. For example instead of using the typical Facebook Like button or Twitter follow button I would replace it with my own ...
Ben Aaron's user avatar
2 votes
1 answer
821 views

Tumblr like button with ajax fetched posts

I've removed all post centered markup from my Tumblr theme and instead I'm using ajax to fetch the data. So far, so good. Now I want to add a like button to each post, but I can't seem to find any ...
INT's user avatar
  • 912
0 votes
1 answer
629 views

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 ...
Rukia Kuchki's user avatar
0 votes
1 answer
1k views

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 ...
user2827665's user avatar
0 votes
1 answer
420 views

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. ...
user2987853's user avatar
0 votes
1 answer
2k views

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 ...
user2488971's user avatar
0 votes
1 answer
176 views

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 ...
Dangling Cruze's user avatar
2 votes
1 answer
2k views

Tumblr like button not working after infinite scroll ajax recall

There are a few similar posts but they are quite out of date and Tumblr has updated the like part of the API not too long ago as far as I'm aware. Creating a like button is as simple as {...
samayres1992's user avatar
1 vote
1 answer
895 views

Tumblr get Like Button status with Infinite Scroll

I would like to request the Like Button status of each post (by ID) that is appended by Infinite Scroll. <li class="post text" id="{PostID}"> The Tumblr Documentation provides this method of ...
amirardalan's user avatar
0 votes
1 answer
2k views

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 ...
Julius's user avatar
  • 102
0 votes
1 answer
72 views

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 ...
user2516546's user avatar
2 votes
2 answers
6k views

Custom simple like button (not facebook)

I'm looking for the easiest way to add a simple like button to my site. Basically, a button that, when clicked - changes to a new graphic (letting you know you clicked it), can't be clicked again, and ...
Robby Mulvany's user avatar
0 votes
2 answers
3k views

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: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""...
RightLeftRight12's user avatar