If anyone else needs it, I’ve found the best way to add a facebook icon is this, the link comes from facebook and I’ve inserted the php code necessary for it to post the exact post link:
<a name="fb_share" style="float:right;" type="button" href="https://www.facebook.com/sharer.php?u=<?php the_permalink() ?>&t=<?php echo urlencode(the_title('','', false)) ?>">Share</a><script src="https://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
Also, this would be a good way to make a twitter button (the bkg image is added through css, you can get a similar one anywhere:
.postmetadata a.btn_tweet {
background:url("images/btn_tweet.png") no-repeat scroll 0 0 transparent;
display:block;
font-size:10px;
height:14px;
line-height:10px;
width:40px;
float:right;
color:#FFF;
padding:4px 0 0 23px;
margin-left:15px;
font-family:Verdana, Geneva, sans-serif;
}
<a href="https://twitter.com/?status=<?php echo urlencode(the_title('','', false)) ?>+<?php the_permalink() ?>" title="Trimite articol pe Twitter" rel="nofollow" target="_blank" class="btn_tweet">Tweet</a>