オーベルジーヌ実食レポ 食べ物の鼻塩塩(未だに通じるのかな) オーベルジーヌというカレーをご存知だろうか 都内にあるデリバリー専門のカレー屋で、 ロケ弁などで大人気の本格欧風カレーが楽しめるらしい いいな〜 いいな〜オブザイヤー 都内の奴らはこんな良いモン食ってんのか 許せねえよ………
一通りの連載が終了したので、最後になりますが、各エントリに簡単な説明を付けた目次を別エントリとしてあげておきます。 Twitter ボットの作り方 Perl 編 (1) ボット作成の前提となる基本的な機能の動作確認を行います。この部分がうまくいかない場合、そもそもボットを作成する環境が整っていない事になるので重要です。 前書き 目標 用意するもの 方針 下準備 Twitter ボットの作り方 Perl 編 (2) 単にランダムにつぶやくだけの簡単なボットを作ります。cron に登録することで本当の意味でボットとして活動可能になります。 状態ファイルの準備 データの準備 実際のスクリプト cron への登録 Twitter ボットの作り方 Perl 編 (3) Twitter 検索を組み合わせて、ボット宛のつぶやきを処理する方法を解説します。このテクニックは様々なタイプのボットで応用出来ます
石巻かほくさんの見出しをtwitterへ投稿する仕組みを作ってみました。→ @isnmk_kahoku個人的にRSSは、なかなか読みません。そこで、twitterに投稿するbotにしてしまえば、タイムライン上でだらだらと、目にすることができるので情報収集がしやすくなります。今回投稿したRSSは自分で作っている蛇田.jpの石巻かほくRSSです。いくつかRSSを投稿するbotを作成したのですが、手法が固まってきたのでメモ! 確認点利点DBを使用しない 数行修正するだけでRSSを投稿できるといった点です。ただ、PHPの最強関数のfile_get_contentsが使用可能か確認してください。php.iniにおいてallow_url_fopen onに設定されていないと外部URLに対しては使用できない関数です。ソースコード //echo "\n twitter投稿モジュール \n"; // twi
Twitter ボットの作り方解説第 1 弾。前提条件と、下準備までを解説します。 前書き Twitter をある程度使っていると、突然見ず知らずのアカウントから reply をもらったりして、それがボットだという事は良くあります。 そんなとき、自分だったらこういうボットを作るのに!っていう思いがあっても、なかなか作れない人も多いのではないでしょうか? ここでは、そのまま動作するサンプルを提示する事で、Twitter のボットを作る方法を解説します。 Perl とか詳しくなくても、Linux の知識がある程度あれば、自由にボットを作れるようになるはずです。 目標 だんだんとレベルを上げながら、以下のようなボットを作る事を目標にします。 あらかじめ用意された定型文の中からランダムでつぶやくボット 特定のワードに反応して、reply するボット 特定の RSS の内容をつぶやき続けるボット ボ
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
「プログラミングができない人もみんなTwitter Botを作ったらいいよ」と思ったので、プログラミングができなくてもある程度の知識があれば作れるTwitter Botのやり方をまとめてみました。 プログラミングができなくても作れるTwitter botの作り方 そもそもTwitterが登場する以前にもbotとか人工無脳とかそういうものはあったのだけど、大体IRCとかそのへんで動いていてそこまでメジャーな存在ではなかった。それがTwitterの普及によって一気にbotが身近な存在になった気がします。 Twitterとbotの相性の良さというのは、Twitter上ではbotが人間と同じラインに並べるというところだと思う。 例えばbotに面白いブログを書かせようと思ったら、それはまだちょっと苦しいと思うのよね。ブログのような長文を自動生成して、それが人間の読むに耐えられるようになるほど、まだb
[追記] このエントリはつくった時の話で今はいろいろと変わってます。詳しくは以下のエントリでどうぞ。 ふらぐったー再掲 - BOOLEANLABEL Ruby の勉強の成果を出してみようと twitter bot をつくってみました。 http://twitter.com/flagtter 名前のとおり、死亡フラグをセットします。 つまり、以下のようなうっかり発言をすると... 「ふらぐったー」にフラグをセットされます。 動作は以下のとおりです。 Twitter 検索で "俺" "たら" "するんだ" という文字列を含む発言の検索結果を RSS で取得します。 検索結果のうち、自分自身 (@flagtter) の発言は除きます。 さらにその中でログファイルの最終更新時刻より新しい発言である場合は "俺.*たら.*するんだ" という正規表現を含むかチェックします。*1 上記の条件を満たしてい
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く