WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] What version of the Facebook code do you use? (7 posts)

  1. rick4him
    Member
    Posted 2 years ago #

    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/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    1. XFBML.

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

  3. rick4him
    Member
    Posted 2 years ago #

    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?

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    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.

  5. rick4him
    Member
    Posted 2 years ago #

    Then how do you know it conflicts?

  6. rick4him
    Member
    Posted 2 years ago #

    Also I'm not sure you can say that using hrml5 is "no gain" by the way.

  7. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic