facebook-like

Facebook Like Button Causing Horizontal Scrollbar

余生长醉 提交于 2019-11-30 04:24:52
问题 I've recently added a facebook like button to my site and it's causing a horizontal scrollbar to appear when it's not needed. It doesn't appear in Chrome but is there in Firefox and IE. I've checked the created code in Firebug and can't see what's going wrong. Here's a link to the site so you can see: http://www.swiftfurniture.com/ As you can see, on Firefox and IE (possibly other browsers too), there's a horizontal scrollbar when it isn't needed. It's definitely the Facebook like button

Is there a Facebook Share button event for FB.Event.subscribe?

馋奶兔 提交于 2019-11-30 04:13:05
I'm looking to split test clicks between the Facebook Like button and Facebook Share button. I know I can attach an event handler of FB.Event.subscribe('edge.create',...) to track clicks on the Facebook like button, but is there a corresponding event for the Facebook share button? There doesn't appear to be on in the FB.Event.subscribe documentation. There is no event for this - if you need to be notified when a user clicks shares from within your app, you should create your own share button and display the Feed/Share dialog when clicked: $('#shareButton').click(function() { FB.ui({ method:

Facebook like button showing in Firefox but not showing in IE

半城伤御伤魂 提交于 2019-11-30 02:24:34
I have a Facebook like button on my page using the XBFML tag. I think the code is working, because it works in Firefox without a problem. But in IE 8 (running in IE 7 compliant mode), the button does not show at all. If I switch it all to the iFrame version of the like button it all works. But when I go with the XBFML tag it does not work. Anyone run into anything like this? Try adding the xmlns attribute to the HTML document for the FB namespace: xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" This is another case where Firefox is being too

Is it possible to validate the xmlns:fb (Facebook) attribute?

六月ゝ 毕业季﹏ 提交于 2019-11-30 01:40:21
I have a Facebook Like button on my site and as such also have the xmlns:fb attribute on the <html> tag: <!DOCTYPE html> <html lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> However, when running my site through the W3C validator, I get these errors: Line 2, Column 61: Attribute xmlns:fb not allowed here. Line 2, Column 61: Attribute with the local name xmlns:fb is not serializable as XML 1.0. Line 222, Column 72: Attribute fb:like:layout is not serializable as XML 1.0. Line 222, Column 72: Attribute fb:like:layout not allowed on element a at this point. It is my understanding that

Resize/scale facebook like button (height and width)

安稳与你 提交于 2019-11-29 18:56:04
问题 I couldn't find anywhere (if it's possible) how to resize the whole like button (not it's iframe or the container, but the button itself with the writing and everything). Google+ offers several versions of it's +1 button, the smallest being 15px. For design purposes I need to change (scale) the size of the FB like button to match the layout of the site (in this particular case... scale down to 15px). (according to FB terms and conditions scaling is permitted.) 回答1: Although you say not the

Facebook like count is suddenly zero

泪湿孤枕 提交于 2019-11-29 18:04:18
I found a weird bug on my ( Wordpress ) site today... Yesterday, my likes were still there. I didn't change any code or did something whatsoever (which is why I hope and guess it's a Facebook bug), but suddenly I saw that my website's page has 0 (zero) likes ... Weird, because when I check my Facebook like button's page, I can see the exact amount of like still there, but not on my like button on the website... What could be the problem? I checked with the linter tool and there are no problems at all... Very frustrating. Well, I see that this is a known bug and that Facebook will fix it ASAP:

How to style facebook like button?

怎甘沉沦 提交于 2019-11-29 17:35:51
I am trying to apply css to facebook like button. I know that it is violating TOS to change how the like button look. All I am trying to do is change the background of facebook like button to make it consistence with my website. I googled about it and found several articles that I can style facebook like button if I am using fbml because fbml does not use iframe. The problem is, it looks like facebook is using iframe for fbml as well. as far as I know, I can't directly style a webpage that is included in an iframe. Is there an api for styling (in my case, changing background only!!) the like

Check if user likes page via Graph API

核能气质少年 提交于 2019-11-29 17:00:48
I have seen a few similar questions but I think this is new... I am trying to add a popover on a blog that will contain a Facebook like button for a Facebook page and wil only show if the user does not already like the Facebook page. Reading through the documentation this should be achievable with the Graph API pages.isFan method but does this require the user to give permissions? If so would it be possible to not have the app request permissions but rather fail gracefully? Any help much appreciated. Richard You can tell if a user likes a page from the signed_request which is sent in the

Merging a website's likes into a Facebook page [closed]

北城以北 提交于 2019-11-29 10:55:15
We launched our website before we started our Facebook page, and it got something like 2k likes. But those likes, obviously, were for our .com domain itself. Now our like button points at our new Facebook page instead, which has 161 likes. We want to "claim" the likes from our .com domain name under the banner of our Facebook page. This Facebook FAQ seems to be related: https://www.facebook.com/help/?faq=249601088403018#I-have-two-Facebook-Pages-for-the-same-thing.-Can-I-merge-them 2 problems though: We're talking about merging a website into a Facebook page, not a page and a page The FAQ

How can I redirect once facebook like button is clicked?

依然范特西╮ 提交于 2019-11-29 08:56:31
Basically, here is an idea: I am starting a daily blog, and in order to gain access to sunday's posts, the user needs to share the site. I have figured out how to redirect once someone presses the +1 button, and how to redirect once someone tweets, but I have yet to figure out how to redirect after a facebook like. If anyone can help with this, I'll be very thankful. For the record, I plan on doing this as whitehat-edly as possible. Basically, the post will say that I'm trying to gain popularity for the site, that I could really use some shares, I'll point out that they get six posts a week