PHP: Custom social sharing URLs
Custom social sharing URLs for the most popular social networks
$facebook_link = "http://www.facebook.com/sharer.php?u=" . urlencode($URL) . "&t=" . urlencode($TITLE) . "&src=sp"; $twitter_link = "http://twitter.com/home/?status=" . urlencode($URL . " - " . $TITLE); $googleplus_link = "https://plusone.google.com/_/+1/confirm?hl=en&url=" . urlencode($URL); $reddit_link = "http://reddit.com/submit?url=" . urlencode($URL) . "&title=" . urlencode($TITLE); $vkontakte_link = "http://vkontakte.ru/share.php?url=" . urlencode($URL) . "&title=" . urlencode($TITLE);
0 Comments