Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

custom facebook like link?

Tags:

Is it possible to add a custom facebook like icon? I would like it to be part of an <ul> and I don't really want to load another library their SDK or all the <meta> tags....

Has anyone implemented a custom like button? I don't need the counter etc that their buttons provide, and to be honest, they are ugly. I have been searching around for the last 2 hours with no real luck.

I found this:

<a name="fb_share"></a>  <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"      type="text/javascript"> </script> 

But it implements one of their buttons.

EDIT:

I have read their API, while very easy to use I don't like the buttons generated from their <iframe> or XFBML code. I am simply looking to find out if there is a way to make a custom link from something like this:

<ul>    <li><a href="some code here">Facebook</a></li> </ul> 

Am I missing something in their API? it always generates a HUGE button with a counter and their graphics, which is exactly what I don't want.


like image 758
Dirty Bird Design Avatar asked Jan 04 '11 16:01

Dirty Bird Design


People also ask

What is a personalized link on Facebook?

You can create your own username or choose a username that Facebook suggests. Some of the things you can do with usernames: Create a custom link (for example, www.facebook.com/janedoe3) to your profile that you can share with your friends or post on external websites.


1 Answers

I found from another post here:

<a title="send to Facebook" href="http://www.facebook.com/sharer.php?s=100&p[title]=YOUR_TITLE&p[summary]=YOUR_SUMMARY&p[url]=YOUR_URL&p[images][0]=YOUR_IMAGE_TO_SHARE_OBJECT" target="_blank"><span><img width="14" height="14" src="'icons/fb.gif" alt="Facebook" /> Facebook></a> 

I used this and works well:)

like image 65
Kaspar L. Palgi Avatar answered Oct 22 '22 06:10

Kaspar L. Palgi