Note that there are some explanatory texts on larger screens.

plurals
  1. POfacebook like button comment box won't close on submit, and doesn't post anything
    primarykey
    data
    text
    <p>Trying to integrate a facebook social like button plugin with the comment box. The like/unlike function works fine, and it reflects properly in my activity log on Facebook. However, once I type in a comment in the comment box and click "post to facebook", nothing happens! The comment box won't close when I submit, and it doesn't publish anything in the timeline.</p> <p>I can see the post request in Firefox debugger. Facebook debugger doesn't report any errors on the page, and extracts the meta tags.</p> <p>See my code below: What am I doing wrong or missing?</p> <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml"&gt; &lt;head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#"&gt; &lt;meta property="og:title" content="mytitle" /&gt; &lt;meta property="og:description" content="mydescription" /&gt; &lt;meta property="og:type" content="website" /&gt; &lt;meta property="og:url" content="&lt;?php echo $this-&gt;baseUrl(); ?&gt;/welcome"/&gt; &lt;meta property="og:image" content="&lt;?php echo $this-&gt;baseUrl(); ?&gt;/images/screen_shot_general.jpg" /&gt; &lt;meta property="og:site_name" content="myname" /&gt; &lt;meta property="fb:app_id" content="xxxxxxxxx" /&gt; &lt;/head&gt; &lt;body&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxx', // App ID channelUrl : '&lt;?php echo $this-&gt;baseUrl(); ?&gt;/channel.html', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); // Additional initialization code here }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref); }(document)); &lt;/script&gt; &lt;div class="fb-like" data-href="&lt;?php echo $this-&gt;baseUrl(); ?&gt;" data-send="false" data-layout="button_count" data-width="90" data-show-faces="false" data-font="lucida grande"&gt;&lt;/div&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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.
 

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