0

こんにちは、共有元の Web ページとは別のリンクを共有したいと思います。同じページに移動しますが、小さな URL リンクです。以下のコードはページの URL を Facebook と Twitter に共有しますが、カスタム リンクを共有するにはどうすればよいですか?

<a href="http://twitter.com/share?text=copy goes in here&url=http://PAGE_URL" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,height=600,width=600');return false;"><img src="images/transbg.png" id="twit_sprite" width="1" height="1" /></a>


<a href="http://www.facebook.com/sharer.php?u=http://PAGE_URL&t=copy goes in here" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,height=600,width=600');return false;"><img src="images/transbg.png" id="fb_sprite" width="1" height="1" /></a>
4

1 に答える 1