Questions tagged [facebook-like]

Widget that enables users of Facebook to "Like" websites, photos, objects, posts, etc.

facebook-like
Filter by
Sorted by
Tagged with
11 votes
8 answers
21k views

Facebook page embed iframe doesn't fill container width

I added an iframe of wikipedia to demonstrate the problem I have. The Wiki iframe is displayed correctly like it suppose to, but the facebook iframe isn't. HTML: <div class="iframe-fb-...
Offir's user avatar
  • 3,373
0 votes
1 answer
867 views

Displaying Facebook Share button with dynamic data

I've made a quiz where I want the score to be shared to Facebook, it works by passing GET variables to a PHP file, that populates the OG data to share to Facebook - this all works okay however my ...
nicksource's user avatar
0 votes
1 answer
152 views

How to get response from FB page like in angular 5

I am using ngx-facebook for implement FB page like. I want to know if my FB page was liked or not to perform some action on basis of response. I followed "https://www.npmjs.com/package/ngx-facebook" ...
Nilesh Kumar's user avatar
1 vote
1 answer
179 views

How can I delete a like from my database if user_id and post_id are the same?

I want to check if user already liked the post, if so than delete the user from database likes. I've tried to do an if statement but it wont get to the else and only add likes even when user_id and ...
aRoyaleWithCheese's user avatar
0 votes
0 answers
37 views

How to add a facebook-like button in a responsive website?

I am working on a new version of our website, based on a commercial framework (Aspdotnetstorefront) with a responsive template. We have a few pages where we want to include a Facebook "like button". ...
Yan Kleber's user avatar
0 votes
1 answer
62 views

Can't get through Facebook app review - what can I do?

I'm trying to get the read_insights permission on Facebook. I need it just to be able to display like counter in widget on my website. I sent them screencast showing the like counter widget on my ...
kacper3355's user avatar
0 votes
1 answer
3k views

How to manage like button on images in flutter

I made an icon button for images for giving option to user to like the image but when I go to another page or re-open app the liked photo is again un-liked.How can I make sure that the photo I liked ...
Azhan Khan's user avatar
1 vote
0 answers
232 views

there is a way to insert the button like on facebook in an amp page?

I have a problem with a shortcode that I created to insert the facebook like button on my site, when this is called from amp pages. The shortcode created is nothing but the code indicated by the ...
Roberto Civita's user avatar
0 votes
0 answers
31 views

Facebook like button not following through with like

I've just created a "splash page" of sorts for our Wifi where I would like the user to like our facebook page first. I've included the button and it shows up, The user can click the like button and ...
Inigma's user avatar
  • 15
0 votes
2 answers
1k views

Do I need manage_page permission to manage my page using facebook php sdk?

I created a facebook app in order to use it as a login for my website. I wish to use this app to get my page likes count, and offline post to this page. I'm the admin of both the page and the ...
medo ampir's user avatar
  • 1,880
0 votes
1 answer
60 views

How do I connect a page on my website to post on facebook

I was searching for a while, but probably I'm just not using the right keywords. Right now I have two separate things: 1) Articles on my website. Each article has a facebook like/recommend this ...
mediacurse's user avatar
-1 votes
1 answer
275 views

Selenium Python for creating a instagram liker bot [duplicate]

I am using selenium for python to create a simple liker bot for instagram. The idea is to like the first photo of a tag (in this example is "sunset"). It correctly selects the first photo but does not ...
Alexandre Baptista's user avatar
1 vote
0 answers
517 views

Facebook Graph API like/comment business page recommendation

(all routes are relative to https://graph.facebook.com/v3.2, GET by default, unless specified) Steps that work well: I get PAGE's token from here /me/accounts Using pages token go to //ratings?...
Michael Malinovskij's user avatar
1 vote
1 answer
99 views

Facebook like button disappears when going to a previous page and then returning to the original page

I am using a Facebook like button in my webpage and it appears on my website, but after clicking to the previous page and returning to the original page it disappears. To prevent it, I should go to ...
Talgartbek Sarkeev's user avatar
0 votes
1 answer
505 views

How to get which user has liked page from FB page plugin

I used Facebook Page Plugin to display page like widget (https://developers.facebook.com/docs/plugins/page-plugin) on my site. When I run my site FB page widget is open with like and share buttons. ...
Curious Developer's user avatar
0 votes
0 answers
41 views

Adding Facebook like button with JAde

i am trying to implement facebook like button to my jade page but it displays nothing and i have no idea why could someone explain me why? here is code div.row div.form-group ...
user987's user avatar
2 votes
1 answer
228 views

Userscript does not execute in Facebook "Like" iframe

According to this post, I should be able to get a userscript to work in an iframe simply by specifying a match URL. However, it does not work for me in case of the iframe for Facebook like button ...
Gaurang Tandon's user avatar
0 votes
1 answer
472 views

How I get impression level log data using facebook api

I am working on facebook api. I can get total impression and clicks etc. data from facebook campaigns stats report. But my requirement is to get each impression in individual line. For example if ...
Muhammad Naeem Shahzad's user avatar
1 vote
1 answer
142 views

Check for facebook thumbs up for botframework (node.js)

I am facing an issue whereby unable to whether the user sent a "Thumbs Up". I have found a package (https://www.npmjs.com/package/botbuilder-facebook-thumbs-up), however I am still unable to detect ...
GuessssMe's user avatar
  • 117
0 votes
0 answers
84 views

Facebook Graph API: how to get a list of all the objects I liked?

In order to get a list of likes I need to provide an object-id. If I provide my profile I will only get a list of the pages I liked. I currently Graph = facebook.GraphAPI(access_token=token, version="...
nununo's user avatar
  • 223
3 votes
3 answers
1k views

Laravel / AJAX Like Button Error: Request failed with status code 404

I'm very new to Laravel, AJAX etc. I am a student working on a Twitter type project and this is my first stack question ever made. I've tried to look for answers but the code that my teacher has ...
user3069007's user avatar
17 votes
2 answers
1k views

Facebook Like functionality using C# SDK

I want to display to know when the facebook like button is clicked and upon verify button click, I want to post the like to the fan page. I want to use Facebook C# SDK. Here is my code: Html <...
Pearl's user avatar
  • 8,899
-1 votes
1 answer
87 views

Workaround for Facebook edge.create being removed from the api

We have a credits system than rewards people for liking us on facebook, for marketing purposes. If they like us via the button we put on our platform, we offer them a credit. We used to implement ...
Vlad's user avatar
  • 1,268
0 votes
0 answers
47 views

Append style to facebook like button

I'm trying apply a custom CSS to fb like button using this code: $("#fblike").css("background-color", "red"); But isn't working, I'm getting this error: Uncaught TypeError: Cannot read property 'css'...
Karlna's user avatar
  • 67
-1 votes
1 answer
1k views

How to implement Facebook page like from my site, in a PHP site?

I want to get likes to my Facebook page through my PHP website. How to implement that? I tried below code: <iframe src="http://www.facebook.com/plugins/like.php?href= <?php echo $pageurl;?>&...
Jibin Mathew's user avatar
0 votes
1 answer
690 views

Android - how to display number of likes in a post using firebase

i want to print the total no of likes for particular post.but it gives me an error in this codelong numOfLikes = dataSnapshot.child("likes").getValue(Long.class); and the error is Attempt to invoke ...
Kidanu's user avatar
  • 63
0 votes
1 answer
488 views

Facebook SDK edge.create is deprecated. Any alternative?

edge.create and edge.remove JS SDK Events are deprecated. Is there any alternative to allows users to subscribe to the like happening event (fired when the like action is completed)? I've not found ...
Frostbourn's user avatar
6 votes
3 answers
582 views

SSL breaks Facebook Likes button

My blog https://sonicscoop.com has older posts dating all the way back to 2012 with hundreds of Facebook "likes" such as this one https://sonicscoop.com/2012/08/29/the-big-list-of-free-pro-tools-...
remainstheday's user avatar
11 votes
3 answers
33k views

To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook

As you can see in the screenshot above, I got Facebook app review approval but now I tried to access Facebook public page posts and comments per page. Still, I am getting bellow massage in R Console: ...
Rajib Kumar De's user avatar
1 vote
0 answers
294 views

retaining Likes while moving to https - og:url getting rewritten

I am moving from http to https. I accumulated 5K likes over the years and want to retain them. As mentioned in several places, you need to do a 301 redirect, plus as per facebook's instructions: "Add ...
AnOttawan's user avatar
  • 133
-1 votes
1 answer
554 views

Javascript How to use the facebook subscribe event for like button when it open in a new dialog

When I click the facebook like button, I have a popup on the screen so I can't use the subscribe event bellow : FB.Event.subscribe('edge.create', function(url, html_element) { // Action here }); ...
Alpha's user avatar
  • 453
0 votes
1 answer
58 views

Display of a window with scrolling of an entrance of Facebook after pressing of the "Like" button

I have posted on the website the Like button from Facebook. I am using Facebook’s JavaScript SDK in an application. If the user isn't logged into FB, I get the following window with horizontal and ...
Ihor Davydiuk's user avatar
1 vote
0 answers
456 views

Get Facebook comment likes / reactions count

After Facebook API changes in recent weeks (https://newsroom.fb.com/news/2018/04/restricting-data-access/), is there any possibility to get reactions / likes on public posts? I need to get a lot of ...
J. M. Zigzee's user avatar
0 votes
0 answers
464 views

Facebook API like count

I would like to get the like count of the page that has been shared to the Facebook. Example: URL: www.example.com/test-page I have tried the below way but i did not able to get the like count but ...
sethu kumar's user avatar
0 votes
0 answers
182 views

Facebook Messenger, send webview directly

So i found that the 3 ways to send webviews on facebook messenger are: All of those solutions implies to send either a Menu, a Card or a Chat extension where the user have to click. What im looking ...
Jnewbie's user avatar
  • 163
1 vote
1 answer
3k views

Get list of user likes and reaction from facebook api

I am trying to get the user id of those that 'likes' and 'react' to a posts(post not belonging to me). I notice that from the graph api explorer, likes and reactions are greyed out. Any advise if I ...
jeff's user avatar
  • 37
0 votes
0 answers
208 views

Validation error on HTML5: "Element name fb:like cannot be represented as XML 1.0."

My page has following code: <div class="link-social-follow"> <fb:like href="https://www.facebook.com/testingPage" send="false" layout="button_count" ...
rams's user avatar
  • 339
-1 votes
2 answers
1k views

Facebook like and share user tracking

I am using FB share and like plugin on my website. Link below: https://developers.facebook.com/docs/plugins/like-button I would like to track a user who logged in on my website (I have the user id) ...
Joe Jeffry's user avatar
2 votes
0 answers
144 views

How to generate User specific feeds?

I have 2 tables - Pages and Feeds. Each feed belong to a specific page. The user follows the interested page. My requirement is to provide feeds for the user from the pages he has followed in a ...
learner01's user avatar
0 votes
0 answers
122 views

FB like catch not works with first like

MY code is jQuery(window).load(function(){ jQuery("#myDiv").jcFacebookLike({href:"http://www.facebook.com/jaspreetchahal.org", show_faces:"false", ...
Davit Sedrakyan's user avatar
1 vote
0 answers
527 views

Is it still possible to get all posts a user has liked on Facebook?

In the graph api (v2.12) "me/likes" returns all the public pages a user has liked (with the user_likes permission). However, I also want to access all posts a user has liked. I have read that "og....
adm_res's user avatar
  • 11
2 votes
0 answers
368 views

IOS/Facebook: Deprecation of App Invite Workaround

It appears that as of February 5, 2018, Facebook no longer supports app invite. Does this mean that it is now impossible for a Facebook user to invite a group of friends or even one friend to ...
user6631314's user avatar
  • 1,801
1 vote
0 answers
523 views

Names are not coming when fetch likes and comments from facebook page using facebook graph API

I am using this two calls to fetch likes and comments from Facebook GraphAPI: https://graph.facebook.com/post_id/likes?access_token=page_token https://graph.facebook.com/post_id/comments?access_token=...
Kendy Alvarado's user avatar
0 votes
1 answer
3k views

Permission issue when publish comment with Facebook Graph API v2.12

I am testing the facebook graph API comments https://developers.facebook.com/docs/graph-api/reference/v2.12/object/comments I checked my permission for the access token it contains the permission, ...
Yizhang Yin's user avatar
0 votes
1 answer
804 views

Facebook like count is increasing with facebook share in laravel

I am using laravel 5.4 . So in my projects there is Facebook share and like button. The problem is when I share the content the like count is also getting increased. Why is this happening and how to ...
Mutasim Fuad's user avatar
2 votes
0 answers
300 views

How implement facebook like button in native swift app after 2/5?

how can implement the facebook like button in a swift app after 2/5? Facebook said this: "Native Like Button: The Native Like Button, designed for mobile apps, will no longer be supported starting ...
Carlo's user avatar
  • 815
0 votes
0 answers
31 views

How to append facebook like button in particular div [duplicate]

I'm trying to integrate a facebook like button and twitter follow button to my web application. I'm little confusion about that.I create a DOM element for facebook like and twitter follow button and ...
Sakthivel's user avatar
  • 159
0 votes
0 answers
25 views

How to get facebook page's like list [duplicate]

Is it possible to get liked users list from my page(which i am an administrator) using page access token? I have tried {pageID}?fields=fan_count,country_page_likes and returns only { "fan_count": ...
Zorig's user avatar
  • 605
1 vote
0 answers
2k views

How to Share my URL to the social media?

I have created URL something like: http://example.com/namespace/page#img-3 I want to share my URL same as given above. But, when I share this URL to the social media it is sharing only page URL: http:...
Vinod Kumar's user avatar
3 votes
0 answers
133 views

Why does a URL shared on Facebook return 0 shares in the Facebook Graph API?

I have several examples of URLs that have been shared on Facebook, but when I retrieve the engagement numbers via Graph API a share count of 0 is returned. Original link: https://ejournal.undip.ac.id/...
Bubblbu's user avatar
  • 91

1
2
3 4 5
80