facebook-like

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

拥有回忆 提交于 2019-11-27 11:08:27
问题 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

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

安稳与你 提交于 2019-11-27 10:32:26
问题 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

How do I test the Facebook “Like” button on localhost?

余生长醉 提交于 2019-11-27 07:34:27
It is possible to test " Like " button on localhost? M.G.Palmer Dave's answer is correct, however, I just discovered a workaround: You can make your local machine accessible by using http://localtunnel.me . You'll need to (temporarily) change some URLs used in your app code / html so links point to the temporary domain, but at least facebook can reach your machine. Not really; facebook has to crawl your site to pull in the title, description, and thumbnail. It can't get to your site if it's on localhost. It is possible to perform limited testing on the facebook like button on localhost. It

Facebook share url thumbnail problem [duplicate]

人走茶凉 提交于 2019-11-27 07:29:00
Possible Duplicate: How does Facebook Sharer select Images? Want to have share thumbnail when user shares site url using share button on site which uses http://www.facebook.com/sharer.php to achieve that. Site dose not have img tags, all images are defined in css. I added meta tags for image: <meta property="og:image" content="/images/branding/branding-logo.png"/> and <link rel="image_src" href="/images/branding/branding-logo.png"/> but it's not working :( Use the full list of Open Graph Meta Tags : og:title - The title of the entity. og:type - The type of entity. You must select a type from

Update Facebook Open Graph meta tag through JavaScript

早过忘川 提交于 2019-11-27 05:48:47
问题 I'm trying to update the meta content of the Facebook's Open Graph title. I updated the content, but when it published the feed, it's still pulling the old information. Example: <meta property="og:title" content="Title 1"/> I managed to update to <meta property="og:title" content="Title 2"/> When I click on the Facebook Like, it's still pointing the title to "title 1". How can I make it update? 回答1: I'm guessing you figured this out already, but others may have the same problem. You can't

How to get Likes Count when searching Facebook Graph API with search=xxx

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 03:18:01
I am currently using Facebook graph api search to search posts as http://graph.facebook.com/search?q=iwatch&type=post&access_token=xxxxx It returns in JSON format fields and use to include the like:count for a given post. After reading the dev roadmap ( https://developers.facebook.com/roadmap/ ) for changes after July 10th I am instructed to use the summary=true param but I have no idea how to get this to work with search? From FB blog on roadmap. Removing 'count' from 'comments' Graph API connection We are removing the undocumented 'count' field on the 'comments' connection in the Graph API.

How to programmatically “press” a 'Like' button through a Facebook Application?

戏子无情 提交于 2019-11-27 02:25:18
问题 I'm developing this Facebook Application and I was wondering if it's possible (and how) to programmatically, through the Facebook PHP Graph API, press some 'Like' button on some page? Of course, this is optional on my application... I'm still not ready to really explain what application I'm doing, but it would be interesting to code such a feature. Is it possible somehow? 回答1: You cannot do this. Facebok wont let you do a POST to /POST_ID/likes, you can only do a get request to retrieve their

How to list facebook users who like a page or interest [duplicate]

杀马特。学长 韩版系。学妹 提交于 2019-11-27 01:20:55
Possible Duplicate: Retrieve Facebook Fan Names I wanna get a list of facebook users who like a page or interest. FQL like ' SELECT user_id FROM like WHERE object_id=113970468613229 ' does not work. Is there a way to do this? I am Partner Engineer at Facebook so I thought I'd chime in here. The Facebook APIs will not give you the user ID of users who have liked a page or interest, this is to guard the privacy of those users. There is no way to get a list of people that like your page via their API, which is why this question never got answered. You can get charts and aggregate information

Facebook like button is asking to confirm the action

ε祈祈猫儿з 提交于 2019-11-27 01:10:58
问题 To begin with, I've already read the following topics: Facebook Like without Confirm? Facebook Like button shows the "Confirm" link, but still cannot Like after confirming Including this topic: https://stackoverflow.com/questions/8940749/facebook-likeconfirm-button There are at least 25 apps hosted under dev.anuary.com host, sub domain of anuary.com . Neither of them ask for "like" action to be confirmed. Worth mentioning, is that there is another website ( http://sinonimai.lt ) hosted on the

Are there tags to specify the Google +1 story format in Google+ like og-meta for Facebook?

ⅰ亾dé卋堺 提交于 2019-11-27 00:43:29
问题 With Facebook we have the Open Graph tags that allow webmasters to specify how the story is displayed on Facebook. Is there something similar for the Google +1 button, that allows webmasters to specify the thumbnail image, description and title? Google+ seems to be ignoring the og-meta tags . 回答1: From Google+ help docs, we now have an official answer . Google uses schema.org microdata to generate rich snippets in search (and in Google+). There's a lot written about schema.org and how it