I'm trying to create a link that will share a page on Facebook. So far I've got:
href="http://www.facebook.com/sharer.php ?u=http%3A%2F%2Fwww.cnn.com%2F &t=CNN%26s+website"
However, I'd really like to add some text that will go in the 'What's on your mind?' text box (especially as the t
value gets overridden by the link's title). Does anyone know if this is possible?
Right-click anywhere on the link and, on the shortcut menu, click Edit Hyperlink. In the Edit Hyperlink dialog, select the text in the Text to display box. Type the text you want to use for the link, and then click OK.
Click the "X" icon to the right of the "Link" heading in the upper right corner of the link window to hide the link.
Head to the 'Facebook Link Debugger'. Enter the link to your site, click the 'scrape' button a few times. Keep clicking it until your new preview image you just uploaded appears in the preview area. And presto!
Simplest way to share on facebook is:
https://www.facebook.com/sharer/sharer.php?u=xerosanyam.github.io"e=You_are_amazing
Bonus:
Simplest way to share on twitter is: https://twitter.com/intent/tweet?via=xerosanyam&text=You_are_amazing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With