facebook-like

jQuery. Click HTML button to get clicked Facebook like button

眉间皱痕 提交于 2019-12-11 04:52:52
问题 I have 2 buttons, 1 simple and other Facebook like button, I want to make that after my simple button is clicked, It activated(clicked) Facebook button too, but It wont work. I've used this code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <script> $(function(){ $("#test").click(function(){ $("#fb-root").click(); //this doesn't click Like button alert("Like is clicked"); // this alert when button is clicked }); }); </script> <div class="fb-like"

Facebook Like Button in Android app?

家住魔仙堡 提交于 2019-12-11 04:47:35
问题 There are a few other old SO questions asking a similar question, but there doesn't seem to be any definitive answer for them. Some time has passed since those questions were asked, so I was wondering if there was a way to do this yet? Looking at Facebook's Android SDK, there are examples on how to share things on your wall, post pictures to your wall, login, logout, etc... but it there doesn't appear to be anything about adding a simple Like button... I was expecting to be able to add a Like

Like button will not fire edge.create or edge.remove

扶醉桌前 提交于 2019-12-11 04:23:53
问题 I'm very much a beginner.... I can't get edge.create or edge.remove to fire when a like button is clicked. I see others have posted this problem too, going back to 2011, with no solution I can see. My code is as follows.... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <div id="fb-root"></div> <script> (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d

Facebook “Like” button error

元气小坏坏 提交于 2019-12-11 04:18:37
问题 I added a standard Like button to my website. The code is <div class="fb-like" data-href="mccabece.com"; data-send="true" data-width="450" data-show-faces="true"></div> When I click the "Like" button it says I like it, but then gives a red "error" beside it. The error says - The page failed to provide a valid list of administrators. It needs to specify the administrators using either a "fb:app_id" meta tag, or using a "fb:admins" meta tag to specify a comma-delimited list of Facebook users. -

Uncaught Error: No version specified facebook sdk

ε祈祈猫儿з 提交于 2019-12-11 03:12:15
问题 I'm updating the like facebook button in my website I just followed the instructions in the facebook developer page, I'm getting the following error: Uncaught Error: No version specified that's located in the line 82 of the facebook SDK (sdk.js) the code is the following: <div class="fb-like" data-href="https://www.facebook.com/fan-page-x" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs

prettyPhoto lightbox social tools: all images have the same number of Facebook likes

偶尔善良 提交于 2019-12-11 02:54:46
问题 Background: I have a site using a prettyPhoto lightbox to display photos. I've enabled social tools to display the 'tweet' and Facebook 'like' buttons on the lightbox, in hope to enable the ability to 'like' only the current photo being displayed to the one viewing it. Problem: The Facebook 'like' button actually results in all photos in the same gallery being liked: all photos display the same number of likes in the lightbox; and on Facebook, the user's 'like' in their news feed or recent

Like button turns to “confirm” on brand new app

北慕城南 提交于 2019-12-11 01:44:12
问题 I've recently created an app for a client where they want separate like buttons next to each of their products. The like buttons are the iframe variants and use a unique URL to the app to separate the products. The like buttons require the "confirm" action and has done so since the beginning, something which the client (unsurprisingly) isn't very happy with. Is there anything that I've done to cause the like buttons to react this way (iframe inside iframe, testing by liking/unliking URLs

My facebook like counter always reset to zero

心已入冬 提交于 2019-12-11 01:18:06
问题 I've installed Facebook like counter in each article of my webpage. The question is probably the same as This Thread. Unfortunately, my like counter keep vanishing so often, for example, if you guys look into this page, all of the counters in the first page were not in zero (Most of them are 10++ like). I captured my web display last Sat to compare with today in this link.I have no idea at all. Actually, the code I've used is just below in each article together with meta tag <html xmlns="http

New xfbml “Like” button + CloudFlare 503 error kills count?

元气小坏坏 提交于 2019-12-11 01:03:09
问题 Recently switched to XFBML to make our page more efficient. However, we noticed that when we started using fb:like vs. the old iframe new Facebook Likes are no longer recording! Wanted to get some insight on this. The Facebook debugger is not returning error codes so we're in the dark about what's causing this! Code reference, everything checks out though: <fb:like href="http://www.example.com/" send="false" layout="button_count" show_faces="false" width="90" font="arial" action="like"></fb

Android LikeView error

落花浮王杯 提交于 2019-12-10 21:07:03
问题 I'm using facebook android sdk v3.19.1 in my android app. I try to use LikeView, but it's only working with users who added to the facebook app settings in the roles section as developer or tester. If I try to click the like button with a normal facebook user or a test user it's appears and disappears quickly and gives back the following error message: error_description: The like dialog is only available to developers and testers. error: server_error error_reason: dialog_disabled My app is