Skip to content

Instantly share code, notes, and snippets.

@RyoSugimoto
Created September 21, 2014 03:55
Show Gist options
  • Save RyoSugimoto/c4ac20cb9d85952cbc91 to your computer and use it in GitHub Desktop.
Save RyoSugimoto/c4ac20cb9d85952cbc91 to your computer and use it in GitHub Desktop.
SNSなどのシェアやフォローのボタン。
<!-- Twitter -->
<a href="http://twitter.com/share?url=共有したいURL&text=ツイート内に含める文字&via=ツイート内に含まれるユーザー名&related=関連アカウント">ツイート</a>
<!-- Facebook -->
<a href="http://www.facebook.com/share.php?u=共有したいURL" onclick="window.open(this.href, 'FBwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">シェア</a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=共有したいURL" onclick="window.open(this.href, 'Gwindow', 'width=650, height=450, menubar=no, toolbar=no, scrollbars=yes'); return false;">Google Plus</a>
<!-- はてなブックマーク -->
<a href="http://b.hatena.ne.jp/add?mode=confirm&url=ページURL&title=ページタイトル">はてブ</a>
<!-- Pocket -->
<a href="http://getpocket.com/edit?url=共有したいURL&title=ページタイトル" onclick="window.open(this.href, 'FBwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;">Pocket</a>
<!-- Feedly -->
<a href='http://cloud.feedly.com/#subscription%2Ffeed%2FページのURL' target='blank'>Follow on Feedly</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment