fbml

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 +

Facebook Login Button Vs. OAuth Dialog

两盒软妹~` 提交于 2019-12-20 09:37:21
问题 What's better? Login Button OAuth Dialog I like the Login Button because it shows profile pictures of the user's friends who have already signed up for your application and it opens a dialog overlay instead redirecting to a new page as does the OAuth Dialog. But, I think the OAuth Dialog is newer. Which should we use? Also, the Login Button is XFBML. Apparently, Facebook is in the process of deprecating FBML. Does that mean XFBML is being deprecated too? 回答1: It isn't that one is better than

fb:serverfbml won't render on Opera and IE

我们两清 提交于 2019-12-20 05:01:50
问题 I asked the same question in Facebook developer forum, but for some reasons I want to repost it here. I hope that's okay. I have the following fb:serverfbml snippet. <fb:serverfbml id="invite_friends_form" style="width: 100%"> <script type="text/fbml"> <fb:fbml><p>Testing FBML rendering</p></fb:fbml> </script> </fb:serverfbml> <script> $(document).ready(function() { // Parse XFBML tags FB.XFBML.parse(); }); </script> It renders correctly in Firefox and Chrome. I got the usual Facebook loading

Deprecating FBML

久未见 提交于 2019-12-19 04:44:11
问题 As you probably already know (or read quote at the end of this post), Facebook is deprecating FBML in favor of iframes for developping applications. I am currently launching a new browser plug in and need a landing tab on my facebook page with personalized install buttons and all the useful features one can wish to have on a fan page. However, I cannot use an iframe in my page because Facebook forbids it (see SO related question here) and I am told not to use FBML because it is being

fb login popup block

房东的猫 提交于 2019-12-17 23:04:41
问题 I am making using fb login feature but problem comming to me is that whenever I click on the fb login button before page media loading is completed, it blocks the popup for fb login but if I click on fblogin after a second passed to loading event it works Here is the function I am using: function fb_login() { var email=''; console.log(loginClassbackQueue); // console.log('user wants to login with fb'); FB.getLoginStatus(function(response) { if(response.status!='connected'){ FB.login(function

Custom skin for facebook like button

£可爱£侵袭症+ 提交于 2019-12-17 11:53:08
问题 Is there an (easy) way to customise the look of the facebook like button implemented via fbml? I am pretty sure I saw this somewhere, but I cant remember where and I cant find any documentation on this. 回答1: Although it may not even be legal to do so (check the terms and policies for yourself), you could do something like: /* Like button main text color */ div.like span.connect_widget_text {color:#fff;} div.like div.connect_widget_confirmation {color:#fff;} div.like span.connect_widget_text a

Facebook Connect Bug? (Post-Authorise URL Being Put in Window Instead of OnLogin Callback)

余生颓废 提交于 2019-12-13 19:22:34
问题 I have a ASP.NET web site which uses Facebook Connect for authentication - using the JavaScript API and the Facebook Connect FBML Button. Here is the regular flow of events for a "Connect with Facebook" button click, when user isnt logged into Facebook. Dialog is shown requesting user to login Dialog requests permission from the user for basic info permission The popup is closed The callback function i supplied for "onlogin" is fired. All good. Now - here's what i think is a bug: the user is

IE8 fbml like button and eot (font embedding)

為{幸葍}努か 提交于 2019-12-13 17:11:25
问题 I have issue with one of site that I developing. Situation is like this: I'm using @font-face generated at fontsquirrel.com, and in every browser, except for IE8 it works fine. In the beginning it worked for IE8 too, but (I guess) after update it stops working normally. This is what's happening, after page is loaded, font on the page stays the same until you mouse over the document, after that it applies @font-face rule. You can see that here: http://devel.2klika.net/fiolic/demo/home.php Also

How do I send a facebook request that links to an external site?

ぐ巨炮叔叔 提交于 2019-12-12 20:08:42
问题 In my current .NET and FBML-based facebook app, I have some code that looks like this: <fb:request-form action="http://mysite.com/InvitesSent.aspx" method="POST" invite="true" type="SomeType" content="Here is an invite to <fb:req-choice url='http://mysite.com?<%=Params %>' label='My site' />"> <fb:multi-friend-selector max="20" actiontext="Invite your friends!" showborder="false" rows="4" bypass="cancel" email_invite="false" exclude_ids="" /> </fb:request-form> This pops up the multi-friend