WordPress.org

Support

Support » Plugins and Hacks » Simple Facebook Connect » [Plugin: Simple Facebook Connect] Custom FB Send / XFBML not working with SFC Base plugin active

[Plugin: Simple Facebook Connect] Custom FB Send / XFBML not working with SFC Base plugin active

  • I’m trying to implement the custom XFBML Like/Send buttons, though they weren’t displayed. After hours of trying to figure it all out, I noticed the XFBML buttons work as soon as SFC Base is deactivated.

    So I looked at the SFC Base code and managed to narrow the issue down to the sfc_featureloader() function. When I remove the output of this function, the XFBML buttons work.

    I’m using the following code to render the buttons:

    <div id=”fb-root”></div><script src=”http://connect.facebook.net/en_US/all.js#appId=APPIDXXXXX&xfbml=1″></script><fb:like href=”URL” send=”true” layout=”button_count” width=”200″ show_faces=”false” font=””></fb:like>

    As you can see it loads all.js, while SFC loads FeatureLoader.js.php. And all.js has been commented out in SFC sfc_featureloader() function.

    What can I do, to get both the plugin and the XFBML buttons to work?

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

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Custom FB Send / XFBML not working with SFC Base plugin active’ is closed to new replies.
Skip to toolbar