xfbml

Post comment with facebook like button doesn't work

青春壹個敷衍的年華 提交于 2020-01-12 07:44:05
问题 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?? 来源:

Facebook Like Button XFBML comment not working

荒凉一梦 提交于 2020-01-03 03:01:13
问题 Update : Read the comments to the item marked as the answer below for the full answer. I am implementing a Like button from Facebook per this document: http://developers.facebook.com/docs/reference/plugins/like I am using the XFBML version so that users can add comments when they click on the Like button. I have imported the Facebook JavaScript SDK an am using a valid App ID. The button appears and I am able to "Like" the page, but I am never prompted for comments. Is anybody else running

Facebook XFBML is not rendering in Internet Explorer 8

守給你的承諾、 提交于 2020-01-01 09:38:24
问题 I put up this test page to illustrate this issue: (dead Link) Every browser I've tested on has worked but in Internet Explorer 8. The odd part is that Internet Explorer 8 doesn't even report an error, WOW, and that is something. So right now I'm stuck with to nothing to work on or debug. What have I overlooked? 回答1: So somehow the xmlns attribute that I had previously set to the HTML tag was gone, probably me undoing things like crazy. Here is how it should be if anyone encounters this issue:

How do you let UiBinder pass tags without binding them so XFBML works?

北战南征 提交于 2019-12-23 12:36:39
问题 I have an application designed that's using GWT and UiBinder. Now we're trying to setup a login through facebook. I've included the script to init the fb javascript in my application's HTML, and I'm trying to get a facebook login button. The Login.ui.xml contains a facebook login tag: <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g="urn:import:com.google.gwt.user.client.ui" > <g:HTMLPanel addStyleNames="login"> <h2>Login Using Your Account</h2> <g:TextBox ui:field="username"/>

FBML + FBJS == XFBML?

余生颓废 提交于 2019-12-23 11:54:03
问题 I am trying to understand what exactly is the difference between fbml and xfbml! Is XFBML same as FBML combined with java script? 回答1: FBML is a facebook's propriety mark-up language, and originally all app views were static rendered in just FBML. Developers wanted to make their facebook app views more dynamic though, but they couldn't use javscript in FBML, so facebook created FBJS to allow developers to make their pages dynamic. Later, they added support for iframe views, which originally

Detect Like with Facebook JavaScript API + iFrame

帅比萌擦擦* 提交于 2019-12-21 20:37:13
问题 Building an app with the Facebook JavaScript API that will embedded into a page using the new iframe method. I want to detect if they have liked the current page. Usually I would use print_r($_REQUEST) in PHP but that doesn't seem to work when using an iframe. There is also this option: http://developers.facebook.com/docs/reference/fbml/visible-to-connection/ but it says its deprecated and I have never liked this method as its fairly hacky. What is the way t do it now? Prefer to use XFBML +

FB.Event.subscribe not firing for certain events

懵懂的女人 提交于 2019-12-21 17:43:04
问题 So I'm trying to do some event handling when a user clicks the like button. My Facebook button is being created asynchronously via: (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); And that works great. I have the following function running as well: window.fbAsyncInit = function() { FB.init({status: true, cookie: true, xfbml: true}); FB

Facebook Login/Like Fail on IE8

北城以北 提交于 2019-12-21 04:48:40
问题 I've recently implemented Facebook Login button and a Facebook "Like" button using XFBML. You can see the site on http://colnect.com Everything works well with FireFox, Chrome, Opera & Safari. However, IE doesn't show neither "login" or "like" buttons and no error message is available as well. Any ideas? 回答1: Seems I'll be the kind of person to answer himself hoping it'll help someone. For Internet Explorer to recognize Facebook you should add xmlns:fb="http://www.facebook.com/2008/fbml" to

Event handling to detect if user clicks a 'Like' button in XFBML page

ε祈祈猫儿з 提交于 2019-12-20 10:37:31
问题 I have a Facebook connect app / canvas IFrame app which has a Like control for a fanpage. I'd like to detect when the user clicks the Like button to be able to display additional info (a discount coupon code). I'm using the latest Javascript API but the events that can be handled doesn't seem to include detection of social widget controls. The documentation for the Like Plugin doesn't show any events. However I know its definitely possible because if I have two Like buttons on a page they

How do I remove a facebook comment warning?

北慕城南 提交于 2019-12-20 03:10:13
问题 my fb comments code is: <fb:comments url="<?=$this_url?>" width="600" xid="<?=$this_unique_xid?>" notify="true" candelete="true" simple="1" numposts=1 url="http://www.veethi.com"></fb:comments> Now if i want to remove the warning message: Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit ‘href’ as suggested in the comments plugin documentation to take advantage of all plugin features I need to replace "url" to "href", but