facebook-like

Cannot make comments from facebook like button

房东的猫 提交于 2019-12-03 15:06:33
I get the like button code from https://developers.facebook.com/docs/reference/plugins/like/ , and on my page , the like button is rendered correctly...at least it looks like so :P But when I click on the like button, the comment dialog appear and disappear immediately, and the button becomes a Confirm link; then I click on the like, a popup window ask me to confirm to like it...then, when I back to my page, I can see the comment dialog. But whatever I input, after I clicked on the Post button, the dialog will not close. In my Chrome console, I see when I click on the Post button, a request is

Post comment with facebook like button doesn't work

社会主义新天地 提交于 2019-12-03 13:56:47
Im tryng to use the XFBML implementation of the Like Button, as it is described in the facebook social plugin page The like button appears and works fine (it asks for a confirm action, but it works ok). When i press the like button, a new dialog comment box popups that lets me add some comment to appear to my wall. However, when i press the "post to facebook" button, nothing happens and the popup dialog remains there. Finally, the comment doesn't appear to my facebook wall. Any help?? 来源: https://stackoverflow.com/questions/13494947/post-comment-with-facebook-like-button-doesnt-work

How to detect Facebook Like button pressed and trigger event?

随声附和 提交于 2019-12-03 13:54:38
问题 Here is the example: http://www.facebook.com/UEvents?v=app_4949752878&ref=ts These guys get people to click on Like button (in Step 1) first before letting the user download the video in Step 2. Interestingly, the Like button was detected and the page refreshed to show the blurred out image in Step 2 so user can click through to download. And it seems to remember that I click on Like (when I reload the page) so the Like button does not show any more and it just only shows Step 2. What is

How to “Like” facebook content externally

本小妞迷上赌 提交于 2019-12-03 13:01:49
So I have been playing around with the facebook like button but I have run into a problem. I have a facebook page about some charity work I'm doing here: http://www.facebook.com/Adam.Holmes.Climbs.Kilimanjaro . I also have a web page that has pretty much the same information on it. Within this web page I have a facebook like button so that users can like the page as seen here: http://developers.facebook.com/docs/reference/plugins/like/ . Now my issue is with a seperate button. Within the facebook page I have added images of which some users have "liked" and commented etc. I have now placed

Facebook Like button redirecting to facebook site in android

故事扮演 提交于 2019-12-03 12:21:55
问题 I am developing facebook like button to integrate with my application.Here is the html code copied from developers.facebook.com <html> <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.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=my_app_id"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <fb:like data-href=

integrate facebook like button with dynamically loaded content

℡╲_俬逩灬. 提交于 2019-12-03 11:24:42
问题 The website I am working on consists of a list of items dynamically loaded via AJAX. As you scroll down the page, more items are loaded. Now my customer wants to add a Facebook like button (and the number of people who liked this) to each of these items. Integrating the default like button is no problem, but how do I add the like button to the items loaded via AJAX? If a new item is loaded, how does the Facebook API know that there is a new like button in the DOM tree for which it needs to

Alert says using deprecated HREF without absolute URL

本小妞迷上赌 提交于 2019-12-03 10:48:01
Message alert in Facebook developer page that my site is currently using the following deprecated features: Social Plugins (Like Button, Like Box) without absolute URL's in their href parameter. This must be fixed before July 2013. I'm guessing it's talking about the data-href parameter for likes, but my like buttons are being generated with the following simple code: data-href="http://<?php echo $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];?>" And the results when viewed in the browser (looking at the HTML source) certainly look like absolute URLs to me. What is this alert actually trying to

OG:type article vs website for Individual Web Pages That Are Not Articles

允我心安 提交于 2019-12-03 10:45:06
问题 I'm seeking clarification regarding the use of og:type article vs website for an individual web page that is technically not an "article" but also does not represent an entire website. Documentation seems contradictory: From https://developers.facebook.com/docs/opengraphprotocol/#types Use article for any URL that represents transient content - such as a news article, blog post, photo, video, etc. Do not use website for this purpose. website and blog are designed to represent an entire site,

Fan-Gate, Like-Gate, show-to-connections, with javascript and like box?

感情迁移 提交于 2019-12-03 10:14:47
问题 I have a facebook likebox on my site (not an iframe app) where I need to create gated content. I understand the FB.Event.subscribe using edge.create and edge.remove but what I really need is to know if a user already likes the page not simply if they became a fan or stopped being a fan. Is there anything I can see as a callback maybe from the xfbml.render? I am limited (by my company) to using front end languages, meaning javascript is really my only option at this point. I would gladly use

Create Like-Gate for page [closed]

北慕城南 提交于 2019-12-03 09:02:53
I've created a Facebook page and I want to add a so called Like-Gate for it. The problem is that the page is with timeline and every tutorial I've found so far is for the old Facebook pages. Is there a way to create a like gate with the new pages? First you have to create a general facebook application: https://developers.facebook.com/apps After that, you can add the application (with fan gate logic) as Page Tab to your site. Here the official facebook tutorial for page tabs: https://developers.facebook.com/docs/appsonfacebook/pagetabs/ When a user selects your Page Tab, you will receive the