How to hyperlink to a "share post" link on Facebook?
September 10, 2014 3:07 PM Subscribe
I am creating an email. In this email, I'd like to have a link that opens a message sharing a particular link with our link annotation. Then the recipient just needs to click "post" to share our content we need them to. I can do this on twitter but I can't figure it out on facebook. Any thoughts? Thanks!
Something along the lines of:
This will produce a link called Share that will link to
Edit: apologies, looks like they no longer allow parameters to be passed to sharer.php. Instead, make sure the destination page has the correct Open Graph meta tags.
posted by Magnakai at 3:27 PM on September 10, 2014
<a href="http://www.facebook.com/sharer.php?u=http://www.emkelly.com&t=Emkelly%27s%20great%20link">Share</a>
This will produce a link called Share that will link to
http://www.emkelly.com
with the message Emkelly's great link
. You'll need to URL encode your message - try this tool.Edit: apologies, looks like they no longer allow parameters to be passed to sharer.php. Instead, make sure the destination page has the correct Open Graph meta tags.
posted by Magnakai at 3:27 PM on September 10, 2014
Best answer: And for completeness sake, since I just had to figure this out for a recent project:
Facebook: https://www.facebook.com/sharer/sharer.php?u=http://www.example.com
Google+: https://plus.google.com/share?url=http://www.example.com
Pinterest: https://pinterest.com/pin/create/button/?url=http://www.example.com
Twitter: https://twitter.com/home?status=http://www.example.com
To improve the appearance of your website on social media, you may want to add certain HTML metatags to your website. You also may want to set up and apply for Twitter Cards and Pinterest Rich Pins.
posted by Nonsteroidal Anti-Inflammatory Drug at 3:33 PM on September 10, 2014 [3 favorites]
Facebook: https://www.facebook.com/sharer/sharer.php?u=http://www.example.com
Google+: https://plus.google.com/share?url=http://www.example.com
Pinterest: https://pinterest.com/pin/create/button/?url=http://www.example.com
Twitter: https://twitter.com/home?status=http://www.example.com
To improve the appearance of your website on social media, you may want to add certain HTML metatags to your website. You also may want to set up and apply for Twitter Cards and Pinterest Rich Pins.
posted by Nonsteroidal Anti-Inflammatory Drug at 3:33 PM on September 10, 2014 [3 favorites]
This thread is closed to new comments.
posted by Nonsteroidal Anti-Inflammatory Drug at 3:26 PM on September 10, 2014