0

How can I customize the message field with Facebook share... You used to be able able to use one of the share URLs with a ?message= parameter but that no longer works... Here is what I currently use for the contents but I can't change the users default post:

<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE">FBshare</a>

Using URL-Javascript I can alter the innerHTML of the post-field's text-area after I have gone to the URL... but I guess I can't send that information after the user has gone to the Facebook URL and left my page right?

Albert Renshaw
  • 17,282
  • 18
  • 107
  • 195
  • possible duplicate of [Customize message field on Facebook Share](http://stackoverflow.com/questions/9591655/customize-message-field-on-facebook-share) – Mike Lyons Nov 06 '13 at 23:36

1 Answers1

0

I do believe that the old sharer.php is in the process of being deprecated.

You should convert over to using the send plugin https://developers.facebook.com/docs/reference/plugins/send/

or the like plugin https://developers.facebook.com/docs/reference/plugins/like/

Make sure your Open Graph meta tags are in order (this is where you specify title) See https://developers.facebook.com/docs/opengraph/

DMCS
  • 31,720
  • 14
  • 71
  • 104
  • With the send plugin can I customize the message field? – Albert Renshaw Dec 31 '11 at 18:34
  • There is no message attribute of the send plugin. BTW, if I answered your original question correctly, please mark/accept my answer. Thank you. – DMCS Jan 01 '12 at 00:29
  • I'm looking for a workaround to change the innerHTML of the textArea of face book's share feature. – Albert Renshaw Jan 01 '12 at 01:57
  • Forget about the old Facebook sharer.php feature. It won't be around much longer (see https://developers.facebook.com/docs/share/ for deprecation notice) :) – DMCS Jan 01 '12 at 02:01
  • Nope, as I stated above, I'm looking for a way to customize the message field. – Albert Renshaw Feb 06 '12 at 23:18
  • 1
    You cannot do it via your script. The only way to customize the message field is to adjust the og: meta tags on the website whos URL is being shared. – DMCS Feb 06 '12 at 23:25