最近、「お前が言うな!」と思えるツイートを立て続けに見続けて、いささか食傷気味である…。
調べたところ具体的なコードを公開をしているサイトがなかったので私のサンプルコードを公開しておきます。JavaScript と言っても jQuery を使っています。Twitter の jsonp からデータを取得します。サンプルですので細かいところは書き換えてください。 使い方 getTweet 関数にユーザー名を入れます。 <div id="sidebar"> <div class="userTweet"></div> <script type="text/javascript"> getTweet("webleorg"); </script> </div> ツイートを取得する関数 #sidebar .userTweet というところのセレクタは環境によって書き換えてください。取得件数を弄りたい場合は9行目の10というところを書き換えれば変更できます。 function getTweet
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く