Services_TwitterはPHPで簡単にTwitter APIを使用できるPEARパッケージです。 ライセンス インストール 必須環境 pearコマンドを使った場合 pear環境を使えない場合 リファレンス 更新履歴 TODO ライセンス このライブラリはThe PHP License, version 3.01の元に公開されています。 インストール 必須環境 Services_TwitterはPHP4.3.0以上の環境で動作する事を前提に作成されています。 pearコマンドを使った場合 Services_TwitterはPEARパッケージで提供されています。PEARコマンドからインストールを行うことが可能です。 # pear install -f http://labs.transrain.net/files/Services_Twitter-0.4.0.tgz 情報取得時にJS
2012年10月18日 バーナビーbot説明書 ●バーナビーbotとは● ・タイバニのバーナビーっぽいbotです。 ・個人が趣味で作っている二次的なものであり、公式等一切関係ありません。 ●システム● 【友好度】 バーナビーとユーザーの友好度です。友好度により対応が変わります。 会話をすることで増えますが、コイントスでも増減します。 【炒飯を作る】 「炒飯を作って」と話しかけることで炒飯を作ってくれます。時々炒飯以外の物も作ります。 「おやつを作って」と話しかけるとおやつ的な物も作ってくれますが、バーナビーの家の冷蔵庫には炒飯の材料しか入っていないので期待はしないでください。 【炒飯の材料を与える】 炒飯の材料を与えることができます。 つ「×××」 ×××の部分に食べ物を入れてください。冷蔵庫に貯め込みます。貯め込んだ材料から炒飯を作ります。 【コイントス】 コイントスで遊んでくれます。
2010/04/26追記 使っているのがOAuth対応版に変わりました。そしてわざわざpost内容自前で作らなくてもよかった。 d:id:abyssluke:20100426:1272276372 2010/09/04追記 以下のプログラムはもう使えないので↑の日記参照。 - 自分がTwitterのアイコンを変更する場合、ムスカの時報プログラムからアイコン変更プログラムをWeb経由で叩き*1自動変更する場合が多い。実際明日0時にアイコンの自動変更を仕掛けてある。 というわけで自分が試行錯誤の上作成、使っているアイコン変更プログラムの中身を公開。 ※サーバー上にある実際のプログラムを少し整形して隠すべき所は隠していたり、ゴニョゴニョすべき所はゴニョゴニョしているので実際に動いているものとは若干異なります <?php define("UA_PRM","Icon-Changer-Test/0.1
アイコン画像をプログラムで変えるというのをやってみました …といっても、自力では挫折で他の方の流用な形になってます。私のオリジナルではありません。 自分が使っているアイコン変更プログラム - AbyssLukeのガイドライン(Maybe archived) すばらしい。あと、もうひとつ参考にさせてもらったが著作権者がわからない… 色々応用が利くように関数化し、例もあげてみました 下のソースですが、通常は同じアイコンで占いの時だけ変わる感じです。 ソースは違いますが邪気眼botの占いも同じ原理でアイコンが変わります 邪気眼 (@jakigan_bot) | Twitter 解説は…めんどうなのでソース見てw これで面白いbotが増えると良いなー。 <?php $username = ""; $password =""; //この関数で追加が必要なのはこの3つの変数 //画像を入れておくディレ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く