PHP或Codeigniter:
我在我的网站上使用多个社交媒体选项的页面共享选项,我没有得到如何在Instagram上分享页面?
我正在使用以下代码与多个社交媒体共享页面:
<?php
$url = urlencode($curr_url);
$imgurl = urlencode($curr_img_url);
?>
Share on social media:
<br>
<br>
<a href="http://www.facebook.com/sharer.php?p[url]=<?php echo $url; ?>" target="_blank">share on facebook with new tab</a>
<br>
<br>
<a href="http://twitter.com/share?url=<?php echo $url; ?>" target="_blank">share on twitter with new tab</a>
<br>
<br>
<a href="https://plus.google.com/share?url=<?php echo $url; ?>" target="_blank">share on google-plus with new tab</a>
<br>
<br>
<a href="http://pinterest.com/pin/create/button/?url=<?php echo $url; ?>&media=<?php echo $imgurl; ?>&description=Corn Paneer Sandwich" target="_blank">share on pin with new tab</a>
<br>
<br>
<a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>" target="_blank">share on linkedin with new tab</a>
但对于Instagram,我没有得到任何代码..在Instagram上分享页面?
请建议我?