Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook share button and custom text [closed]

Tags:

facebook

Is there any way to make facebook share button which post custom text on the wall or news feed?

like image 443
Neir0 Avatar asked May 26 '11 12:05

Neir0


People also ask

What happens when you press the Share button on Facebook?

When someone hits the Facebook Share button, they can publish a post that they're interested in on their own wall, without having to copy and paste a link onto their Facebook profile. The Share button is one of the three engagement options that Facebook gives users to allow them to connect with people online.


1 Answers

We use something like this [use in one line]:

<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    </span> </a> 
like image 73
AllisonC Avatar answered Sep 19 '22 03:09

AllisonC