WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Simple Facebook Connect] What version of the Facebook code do you use?

[Resolved] [Plugin: Simple Facebook Connect] What version of the Facebook code do you use?

  • I actually have two questions.

    1. What version of the Facebook code does your plug in use? (HTML 5, XFBML, IFRAME)

    2. I use Digg Digg to put the lIke button in a floating sharer, and I’m curious of both plug ins are inserting the facebook code into my site, if that is the case I need to figure out how to prevent the code from being inserted into my theme.

    Thanks.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    1. XFBML.

    2. Don’t use other Facebook plugins with SFC. They will interfere with one another. Disable the Facebook portion of DiggDigg.

    Why don’t you use the newer HTML 5 version?

    Also if disable the faebook portion of digg digg how do I get your Facebook like button to show up in the same spot?

    Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    Why don’t you use the newer HTML 5 version?

    There’s no point in spending the time to change a bunch of existing code for no gain. The XFBML works fine. Facebook’s JS code changes both the HTML5 and XFBML to the same iframe code after the DOM is loaded anyway, so the results are identical.

    Also if disable the faebook portion of digg digg how do I get your Facebook like button to show up in the same spot?

    No idea. I don’t use DiggDigg and have no clue as to how it works or what it does.

    Then how do you know it conflicts?

    Also I’m not sure you can say that using hrml5 is “no gain” by the way.

    Plugin Author Samuel Wood (Otto)
    Keymaster

    @otto42

    Then how do you know it conflicts?

    All Facebook code conflicts with itself. If I try to put in FB related code, and some other plugin tries to do the same, then you end up with broken javascript because two different pieces of code are trying to do the same sort of things.

    Also I’m not sure you can say that using hrml5 is “no gain” by the way.

    There is absolutely no difference in the end result. Both HTML5 and XFBML are transformed in the DOM, by the Facebook javascript code, into iframes. In the end, everything becomes iframes. There’s no gain because there’s no difference in the end result.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Simple Facebook Connect] What version of the Facebook code do you use?’ is closed to new replies.