facebook-like

Facebook wall post likes are not counted in fql query

孤街浪徒 提交于 2019-12-13 02:15:18
问题 I have app which share video on the timeline after uploading on youtube. and we count number of likes whoever likes. The problem is whenever someone likes the video on the personal wall it is not connecting to youtube url. Timeline post has 13 likes but FQL is showing only 11 excluding share count. Any help 回答1: It seems Facebook does not gives accurate Like results, at first thought it was caused by users privacy settings, but doing some test with my own friends, the API still shows a

Render multiple facebook 'like' buttons after ajax call

谁说胖子不能爱 提交于 2019-12-13 01:29:38
问题 As a follow up to Render-like-button-after-ajax-call, I'm having an issue with rendering multiple "like" buttons on a webpage. I want to get the ids of all posts from Facebook, via JSON and JQuery, and then display boxes with like buttons for each... The problem is that simply calling "FB.XFBML.parse();" so I do something like this: function displayPost(postJson) { $("#myelement").append(postJson.text+"<somehtmltags for like button>"+postJsonId); FB.XFBML.parse(); } regular ajax call { ...

Catching the close or post to Facebook event of the Facebook comment box

ε祈祈猫儿з 提交于 2019-12-13 00:47:15
问题 The new Facebook like button has a comment box, as you can see on the screenshot below. I am using Facebook their XFBML solution to display the like button on my page. Using JavaScript I manages to catch the event that is triggered when the like button is pressed but now I need a way to detect if the user pressed the "Post to Facebook" button or closed the dialog box. Here is the code snippet that works for the like button event: (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0

Facebook Like button for fan page - cannot create simple button

折月煮酒 提交于 2019-12-13 00:34:10
问题 is it possible to create simple Like button for fan page? When I create official Like button, insert my fan page URL in form, it always generate button with image and page title as it is Like box not Like button. I just want simple Like button only with "Like" label and users count. Is this an issue or default behavior, or just my misunderstanding? Thanks for advice Tomas Teicher 回答1: Did you mean you want this button? http://developers.facebook.com/docs/reference/plugins/like Alternatively,

Facebook LIKE button hiding when page is already LIKED by user

为君一笑 提交于 2019-12-12 23:19:54
问题 I'm trying to create a page on my site where the Like button should be hidden if the user already likes the page. If I can't hide it, then maybe there's a way to get a callback when the like button is rendered with a user who already likes the page. This way I can hide/reveal the iframe myself. Any clues? Howie 回答1: Assuming you can echo the ids of the like buttons to the page for the likes you want hidden/get from a JSON call. var hideLikes = ["#like1", "#like2", "#like3", "#like4", "#like5"

like table doesn't have all the likes done by the user

给你一囗甜甜゛ 提交于 2019-12-12 23:14:43
问题 I am trying to fetch all the likes that a user has done. I am using the following fql queries to fetch the likes. SELECT object_type, post_id, object_id FROM like WHERE user_id=me() I am passing the user's access token along with this query. Some of the user's like activity is not reflecting in the like table. Did some tests and found out that the missing ones are the likes on posts of some specific friends. I haven't yet figured out if there are any other like activities of the user that is

remove facebook likebox scroll bar

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 18:29:57
问题 I want to remove the facebook likebox scroll bar and am having issues as it seems they load the styles for the likebox as investigation indicates styles loaded after page loads. I have identified 'pluginLikeboxStream' as the class that i want to overwrite or add 'overflow: hidden' too too but don't know how to add to or overwrite the default style from facebook. I've tried local css file, and jquery without success. Any ideas (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0];

Like action not showing on users wall

我的未来我决定 提交于 2019-12-12 17:09:12
问题 I've spent several days attempting to resolve this issue without success. The issue is that when a user clicks on a like button it does not indicate that they like anything on their wall. While the code works correctly on my test setup at localhost, it does not work in production. My client is using an image gallery plugin for wordpress along with a lightbox plugin known as FancyBox to show larger versions of images when a user clicks on the thumbnail. He has asked me to add a facebook like

Facebook Like button not displaying/showing in any browser

强颜欢笑 提交于 2019-12-12 16:51:06
问题 We are having an issue with the Facebook like button not showing/displaying, on this page: http://powertextblog.esvelte.net/ It appears that the span and iframe that are generated have an inline style of width:0px and height:0px , I have tried overriding this to no avail. The button is not showing in any browser. This is the code we're using on the page (from AddThis) to generate the button. <a class="addthis_button_facebook_like" fb:like:layout="button_count" addthis:url="http://www.facebook

Tracking like button referrals from Facebook using the 'fb_ref' parameter in our code

穿精又带淫゛_ 提交于 2019-12-12 11:35:14
问题 We would like to use the Attribute fb_ref - the ref parameter in a like button (in order to track referral clicks and conversions). Do you have a tutorial or example of how this works on our pages? 回答1: When you use the ref parameter on a like button, clicks back to your website which were generated by that Like button, contain two extra parameters in the referrer: fb_ref , containing the same value you gave to ref , and fb_source which shows where on Facebook the story was clicked. This is