tmort / Socialite

Other
1.68k stars 164 forks source link

facebook-like button behaving like facebook-share #79

Open joneslloyd opened 10 years ago

joneslloyd commented 10 years ago

Socialite buttons on this page in the floating sidebar and footer are intended to "Like" the page (re: the Facebook button): http://backlinko.com/keyword-research

I use the following code:

<a href="http://www.facebook.com/sharer.php?u='.$link.'" class="socialite facebook-like" data-href="'.$link.'" data-send="false" data-layout="box_count" data-width="60" data-show-faces="false" rel="nofollow" target="_blank"><span class="vhidden">Share on Facebook</span></a>

Which should just allow the page to be Liked. However, on clicking either of the Facebook Like buttons on the page, a share dialog pops up (and looks incorrect due to some CSS problems).