python-twitterというものを使うと簡単にTwitterのAPIなどで遊べると噂に聞き、導入してみました。 まずは必要なものをダウンロードする python-twitter - Google Codeで、python-twitter-0.5.tar.gzをダウンロードする。 Python Package Index : simplejson 1.9.1で、simplejsonをダウンロードする。このモジュールがないと動かない。 インストールするよ! simplejson編 simplejson-1.9.1.tar.gzを適当な場所に解凍 できたsimplejson-1.9.1ディレクトリへ移動する ターミナルで「$python setup.py install」 インタラクティブシェルで「>>> import simplejson」を打ち、エラーが出なければ無事完了 python
どもー、最近 Python 使いになり始めた techno でございますー。 ここ数カ月、Python ばかり書きまくってるような気がしますが、まあ気にしない。 こまごました物を、いろいろ作って遊んでるのですが、ブログに書くほどでもなさそうだったり、ブログ書く時間がなかったりで、あまり書いてません... ま、今日は、時間もないけど、少し書いてみようかな、みたいな。 Python から twitter を扱うことについて。 簡単に、ざざざ、っとメモ書きだけ。 Python から twitter いじりたいなら、python-twitter を使うことになるかと。 python-twitter - Google Code Debian とかだと、リポジトリに入ってます。 sudo aptitude install python-twitter とかすれば使えるようになっちゃいます。 ただし、v
A python interface into the Twitter API By default, the Api caches results for 1 minute. Example usage: To create an instance of the twitter.Api class, with no authentication: >>> import twitter >>> api = twitter.Api() To fetch the most recently posted public twitter status messages: >>> statuses = api.GetPublicTimeline() >>> print [s.user.name for s in statuses] [u'DeWitt', u'Kesuke Miyagi', u'ev
前回エントリにてMy Open ArchiveがTwitterを始めた、と書きましたが、あれから1ヶ月以上が経過し(つまりはブログの更新も1ヶ月以上経ってるんですが汗)本日現在「フォローされている」方々が420(前回エントリ時146)と殆どが英語圏からのフォロー(スパムも大変多い)ですが、思った以上に増えてきました。 それを記念してというワケではありませんが、My Open ArchiveにもTwitterのwidgetを貼ってみました。 GJ > id:bellbo, id:de_side そして「つぶ友」*1id:kany1120にも感謝を。 ところで@MyOpenArchiveが「フォローされている」方々を眺めてみますと、米国大学付属図書館のTwitterが結構あることに気がつきます。 http://twitter.com/OU_Library:image=http://s3.ama
FEATURE Twitter for Libraries (and Librarians) by Sarah Milstein For many people, the word “twitter” brings to mind birds rather than humans. But information professionals know that Twitter (www.twitter.com) is a fast-growing, free messaging service for people, and it’s one that libraries (and librarians) can make good use of—without spending much time or effort. Twitter lets people send and recei
参加できなかった同僚との情報共有のために、また参加者の“裏チャンネル”として、学術会議でTwitterを活用する研究者が増え始めているということです。先日オーストリアで開催された“EduMedia Conference”において、「学術会議中の参加者のTwitterの使い方」に関する調査の報告が行われ、ドラフトが公開されています。 How People Are Using Twitter During Conferences http://lamp.tu-graz.ac.at/~i203/ebner/publication/09_edumedia.pdf EduMedia Conference 2009のプログラム http://edumedia.salzburgresearch.at/index.php?option=com_content&task=view&id=196&Itemid
この記事はめちゃくちゃ古いです.別の方法で,oAuthに対応したbotを作ってください.google:twitter bot oAuth 今日はTwitterの簡単なbotを作ってみます。 作るもの 現在のUNIXタイムを配信する、unixtimebotを作ります。 既に完成したものが以下のURLで動いています(飽きたら配信が止まるかもしれません)。 http://twitter.com/unixtimebot あなたはこのbotをfollowすることによって、常にUNIXタイムを意識しながら暮らすことができます。 方針 Rubyを使います。 直接TwitterのAPIを叩くのではなく、RubyGemsからライブラリを取ってきてそれを使ってアクセスします。 Twitterにアクセスできるgem Twitterにアクセスするためのgemは、ちょっと探しただけで、これだけありました。 Twit
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く