Forums

Facebook send button is not rendering right (4 posts)

  1. stanwelks
    Member
    Posted 1 year ago #

    I'm trying to add a new Facebook send button to a Text widget, and when clicking on it, it does not display correctly, part of it goes offscreen.

    https://developers.facebook.com/blog/post/494

    Any ideas?

  2. caydenliew
    Member
    Posted 1 year ago #

    you need to use XFBML . add this:
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">

    then use the XFBML like button:

    <div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <fb:like href="<?php echo urlencode(the_permalink());?>" show_faces="true" width="300" send="true">
    </fb:like>
  3. stanwelks
    Member
    Posted 1 year ago #

    Not entirely sure what you mean.I'm trying to make a stand alone send button. How do I integrate your code into this:
    <div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <fb:send href="example.com"></fb:send>

    Thanks!

  4. Ray Doniel
    Member
    Posted 1 year ago #

    OK, I've tried all the possible things and it insists to display only half of the button, plus the send window won't open...

    I feel almost desperate :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.