facebook-like

Facebook Like buttons not displaying when loaded hidden

删除回忆录丶 提交于 2019-11-28 22:54:01
I'm a bit stuck with this one. I have an article list with snippets that link off to the full article. when you hover over each blurb a bar appears at the bottom of the blurb that contaains social sharing buttons (FB, Twitter & G+1). http://jsfiddle.net/6Ukmb/ Note that the formatting has been stripped down in the jsfiddle example, and G+1 isn't working - not important to this question. My problem is with the FB like button not loading correctly. In Chrome, everything works as expected. In FF or IE the FB buttons load 'hidden' and I can't get them to appear. If when the page is still loading

Facebook Like button in Android Application

心已入冬 提交于 2019-11-28 20:55:13
I want to display like button in my android application. Below is the code I use to display a Like button in my android application. String url = "http://www.facebook.com/plugins/like.php?layout=standard&show_faces=true&width=80&height=50&action=like&colorscheme=light&href=http://beta.demo.dy/web/service/304.htm" webview = (WebView) findViewById(R.id.webView1); webview.loadUrl(url); webview.setWebViewClient(new LikeWebviewClient()); public class LikeWebviewClient extends WebViewClient { public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl(url); return true; } } But

Facebook 'Like' button breaks https/SSL

巧了我就是萌 提交于 2019-11-28 19:45:00
On an e-commerce website I maintain, I added a Facebook 'Like' button per the instructions here: http://developers.facebook.com/docs/reference/plugins/like I am using the iframe method: <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"> </iframe> It works, but if a customer happens to be logged into her account, she gets the infamous " mixed

How can I make the Facebook Like button's width automatically resize?

戏子无情 提交于 2019-11-28 18:14:33
I'm implementing the Facebook Like Button , but I'm running into some trouble with the width. I'm using the JavaScript SDK implementation, not the direct iframe. According to the documentation, the default width is 450 . That's fine, and I understand that the width can be changed by way of the width attribute on the <fb:like> tag. However, my problem is that I really cannot specify a fixed width. Due to the nature of the button, the width is not constant in all states. For example, if no one has liked the page yet it displays "Be the first of your friends to like this"; if someone has, it

Get the number of facebook *shares* of a specific URL

邮差的信 提交于 2019-11-28 17:55:59
I've found some discrepancies in the graph api and was wondering if anybody has been able to work around them. https://graph.facebook.com/?id=http://www.imdb.com/title/tt0117500/ outputs a "likes" number together with all of the open graph info provided by imdb, associated to its fb:app_id. https://graph.facebook.com/?id=http://www.google.com however, outputs the "shares" number, as google doesn't provide an fb:app_id or fb:admins. My problem is that I need the "shares" number for the first URL, as it corresponds with the number exposed in its like button (likes + comments, etc.) Is there any

Check if logged in user has liked my Facebook Page

大憨熊 提交于 2019-11-28 17:20:24
OK. So I have no idea on how to do this but you are going to have to talk like a 3 year old to me. I know PHP, HTML, CSS and a tiny smidge of javascript. I want to be able to make a page that gets the users facebook and checks to see if they have liked my Facebook page ( https://www.facebook.com/MrDarrenGriffin ). If they have, a redirect will direct them to a page. However, If not, it will tell them that to go to the downloads page, they have to like the page. The liking method could be with the embedded like button in the code. After they have liked the page it will go through the check

Playing back an embedded mp4 video in a Facebook like or share using Flash

主宰稳场 提交于 2019-11-28 17:15:11
I have an H.264-encoded mp4 file that I'm trying to get embedded into a Facebook post when the page that's serving it is Liked or Shared. My understanding is that I simply need to have the right Open Graph <meta> tags in place on the URL that's being liked/shared. However, I've tried several different sets of <meta> tags and the video is still not embedding when I paste the URL into my Status Update and Post it. It does embed the image from the og:image property, but clicking on the image just passes the user off to og:url . When I use the the Facebook Debugger tool , here's what it displays

How to count all of the “Likes” and “Comments” in a Facebook photo album?

纵饮孤独 提交于 2019-11-28 14:44:53
Just thought I would share the answer to the problem I had. I was looking for a way to count all the likes and comments from each of the photos in my photo album on Facebook. My photo album had thousands of likes and comments spread out over hundreds of photos so there was no way it could be done by hand. I couldn't find an existing way to do it automatically so here is my solution. After lots of experimenting with the Facebook Graph API trying to figure out how to get the info from Facebook this is the final working URL: https://graph.facebook.com/albumID/photos?fields=id,likes.summary(true)

Facebook like button on posts not working properly

别说谁变了你拦得住时间么 提交于 2019-11-28 12:39:06
问题 I am using open graph for the first time. In any url like this you you can see a like button for the site's facebook page at top and another like button after the heading and summary of the article. The second like button is not working as required. If I like from that link then instead of the article the website's facebook page gets liked and the information which I want to show to other facebook users who see that like post is the summary of the article but instead it show that the person

How to style facebook like button?

一个人想着一个人 提交于 2019-11-28 12:02:50
问题 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