nmeegama
nmeegama

Reputation: 115

Facebook Like button: Post on wall without adding comments

I have added a FB like button to my site. I need to accomplish the following: Once a user clicks the Like button a comment box appears with the "Post to Facebook" button. I need posts to appear on the wall without the need of adding the comment (preferably removing the comment box also will do)

Current scenario:

But if I add the post without adding a comment it does not appear on the wall but it appaears on the Activity log

Upvotes: 2

Views: 1846

Answers (2)

Chlind
Chlind

Reputation: 215

Wrap the button with a <div> and set its "overflow" to "hidden". So, it should be something like:

<div style="width:70px;overflow:hidden;">
    <fb:like href="your_link" send="false" layout="button_count" width="65" show_faces="false" action="like" />
</div>

Not the most beautiful way, but it works...

Upvotes: 0

dythffvrb
dythffvrb

Reputation: 177

Ive been trying to get the same result with no success. My "solution" was to replace the like button by the share button. That way you make sure that the link will always be seen on the user profile/timeline and their friends.

Upvotes: 1

Related Questions