熊谷市のツイッターポータルサイト「つぶくま」のマスコット「つぶくま」くんのアカウントをbot化しました。 以下手順を説明します。 ■ 埼玉県熊谷市のtwitter(ツイッター)ポータル 【つぶくま】 ■ つぶくま (tubu_kuma) on Twitter まずはスクリプトを用意します。 こちらに日本で一番有名なニートphaさんの作ったスクリプトがありますのでこれを使わせていただきます。 □ プログラミングができなくても作れるTwitter botの作り方 「ダウンロード」から「バージョン2.04betaをダウンロード」してください。 以下、phaさんの解説通りに「秀丸」でも使って、 data.txtの編集 reply_pattern.phpの編集 bot.phpの編集 setting.phpの編集 試しにbotを動かしてみる cronの設定をする と進めていけばOK。 途中注意すべき点