Questions tagged [xfbml]

eXtended FaceBook Markup Language, a extension of XHTML used by Facebook applications and sites using the Facebook Javascript SDK.

XFBML stands for eXtended FaceBook Markup Language. It was originally a subset of and an extension of used by Facebook applications. Note that FBML is now deprecated.

See also: FBML + FBJS == XFBML?

261 questions
36
votes
19 answers

How to make Facebook comments widget a fluid width?

Is it possible to make Facebook's comments widget a fluid width? Their documentation shows a width field for the fb:comments xfbml or iframe which is specified as: width - the width of the plugin in pixels. Minimum recommended width: 400px. So…
at.
  • 50,922
  • 104
  • 292
  • 461
18
votes
4 answers

Facebook Like Button On My Website To Like A Facebook Page, Not My Website

I have a Facebook like button on my website, however as it works currently it only lets users like the page that they are currently on. Is it possible to make the button like our Facebook page instead of our website?
Dwayne Charrington
  • 6,524
  • 7
  • 41
  • 63
15
votes
3 answers

Looking for FB.XFBML.parse callback function?

is there a callback function (e.g. onComplete) for this? I would like to display a loader. FB.XFBML.parse()
fabian
  • 5,433
  • 10
  • 61
  • 92
12
votes
4 answers

Update FB:Like URL Dynamically using JavaScript

I'd like to change the URL to like of an FB:Like button dynamically using JavaScript. Right now I've only been able to change the href attribute of the fb:like tag (I've pasted the code below). But simply changing the href doesn't seem to work.…
RZKY
  • 300
  • 1
  • 4
  • 15
11
votes
2 answers

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

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…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
10
votes
1 answer

not working

I'm trying to implement Facebook registration on a website. Without the onvalidate parameter, everything works as one would expect it to, but when including it everything seems to break down (no errors thrown, form does nothing). Here is my…
Navarr
  • 3,703
  • 7
  • 33
  • 57
10
votes
1 answer

FB.XFBML.parse loops and gives thousands of javascript errors

I have a number of dynamically generated like buttons on a site (http://www.thepropaganda.com), and so I use FB.XFBML.parse to generate them all. For some reason the parser always gets into a loop and repeatedly generates "domain and protocol must…
Samuel Littley
  • 724
  • 7
  • 17
9
votes
3 answers

Re-parsing a facebook HTML5 comments box

Is there something similar to FB.XFBML.parse() but for the HTML5 versions of the social plugins? I don't want to use XFBML... Basically, I'm building a one page application that needs to change the comments box's data-href attribute and reload based…
Nick Dima
  • 1,587
  • 2
  • 18
  • 36
9
votes
2 answers

FB.XFBML.parse() on individual element does nothing

I have a big page with a "load more" button at the bottom; each click on "load more" loads more content via AJAX. Part of that content is Facebook like buttons:
Eric
  • 5,104
  • 10
  • 41
  • 70
8
votes
0 answers

Post comment with facebook like button doesn't work

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…
user711189
  • 4,383
  • 4
  • 30
  • 48
7
votes
3 answers

Facebook Login/Like Fail on IE8

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"…
Collector
  • 2,034
  • 4
  • 22
  • 39
7
votes
2 answers

Facebook XFBML is not rendering in Internet Explorer 8

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…
Pablo
  • 5,897
  • 7
  • 34
  • 51
6
votes
3 answers

Multiple facebook comment boxes on a single page?

I have three products listed on a single page and I'm looking to add a small comment box to the side of each of the products, kind of like : https://www.facebook.com/SanukFootwear?ref=ts&sk=app_113298085356151. The main problem is, I can't seem to…
tr3online
  • 1,429
  • 2
  • 24
  • 45
6
votes
3 answers

Do I need an appId for a XFBML version of the Facebook Like button?

I'm really confused. I'm trying to use some of the very simple Facebook plugins on my site, specifically the basic "Like" button. I already know how to use the limited version with an iFrame. However, now I'm trying to figure out the XFBML method…
Sparky
  • 98,165
  • 25
  • 199
  • 285
6
votes
2 answers

Using XFBML login button asks user to authenticate twice

I am simply trying to setup Facebook Connect to allow the choice on my already established site to register with the registration form, or to register with Facebook Connect (this really should be easier than it is, the outdated docs are driving me…
James Simpson
  • 13,488
  • 26
  • 83
  • 108
1
2 3
17 18