• Hi I use this code on my site to show a button to share the article on Facebook. But the count button does not work. What I’m doing wrong ?

    }
    
    	$height = ($option['layout']=='button') ? 33 : 66;
    
    	$out = '<div style="height:'.$height.'px; padding-top:2px; padding-bottom:2px; clear:both;" class="really_simple_share">';
    	if ($option['active_buttons']['facebook']==true) {
    		$first_shown = true;
    
    		$option_layout = ($option['layout']=='button') ? 'button_count' : 'box_count';
    		// REMOVE HTTP:// FROM STRING
    		$facebook_link = (substr($link,0,7)=='http://') ? substr($link,7) : $link;
    		$out .= '<div style="float:left; width:100px;" class="really_simple_share_facebook">
    				<a name="fb_share" type="'.$option_layout.'" href="http://www.facebook.com/sharer.php" share_url="'.$facebook_link.'">Share</a>
    			</div>';

The topic ‘Count button Facebook does not work’ is closed to new replies.