Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have had the same problem for the whole morning, and I finally solved it! :)</p> <p>Add:</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; </code></pre> <p>...some place inside your body.</p> <p>Also, add xmlns:fb="http://www.facebook.com/2008/fbml" to the html tag, so that it reads:</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt; </code></pre> <hr> <p>I'm going to post my whole code so that you can compare:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt; &lt;head&gt; &lt;title&gt;&lt;/title&gt; &lt;/head&gt; &lt;body style="margin:0px 0px 0px 0px;overflow:hidden;text-align:center;"&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;fb:serverFbml&gt; &lt;script type="text/fbml"&gt; &lt;fb:fbml&gt; &lt;fb:request-form method="POST" type="jugar a Mahou Liga Chapas" action="http://mahouligachapas.unusualwonder.com" content='¿ Te echas un partido conmigo? &lt;fb:req-choice url="http://apps.facebook.com/mahouligachapas" label="Sí" /&gt; &lt;fb:req-choice url="http://www.facebook.com" label="No" /&gt;' &gt; &lt;fb:multi-friend-selector actiontext="Invita a tus amigos a jugar a Mahou Liga Chapas"/&gt; &lt;/fb:request-form&gt; &lt;/fb:fbml&gt; &lt;/script&gt; &lt;/fb:serverFbml&gt; &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://connect.facebook.net/es_ES/all.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function () { FB.init({ appId: 'XXXXXXXXXXX', status: true, cookie: true, xfbml: true }); }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload