why is “publish in facebook” bringing users to blank comments?

Whenever a user comments something on my pages and chooses the option 'publish in facebook', the comment appears on his facebook wall correctly, but something weird happens when we try to click on the URL that went to his wall: the string that FB concatenated to the original URL takes the user to a page with blank comments, as if he ended up in another URL altogether.

This content is written in Brazilian Portuguese, but the comment box will be in your default language:

  • original content:


  • URL published to the user's FB wall:



That's because of the Plugin's href parameter is different in the two links. You need to set this parameter your self to have a consistent result.

Need Your Help

Is it a good idea to make an AJAX call on <a> click before taking the user to the href location?

javascript ajax asp.net-mvc-3 jquery

I have a few scenarios where on a click of &lt;a&gt; element on a page I need to send some data to the server with AJAX and if everything is fine take the user to where &lt;a&gt; is pointing.

Android Read Document Html by Tag name

android html tags jsoup document

i'm trying to read a Document from Html using Jsoup. In fact, i've got the Document but now i'd like to read only a content by tag, i mean, i'd like to get the content text of the following example: