The most popular PHP library for use with the Twitter OAuth REST API. Installation With Composer The recommended and easy as pie method is Composer. Setup require in your projects composer.json file. Latest release: composer require abraham/twitteroauth Import the TwitterOAuth class. require "vendor/autoload.php"; use Abraham\TwitterOAuth\TwitterOAuth; Start making API requests. $connection = new
Twitter App の作成 Twitterへアクセスし、アカウントを作成します。 » https://twitter.com/ Twitterアカウントを作成します。必要なのはメールアドレスだけです。ウィザードに従えば、簡単に作成できるので、アカウント作成の詳細は割愛します。 Twitterアカウントを作成したら、Twitter Developersへアクセスし、Appを作成します。 » https://dev.twitter.com/ 右上の「Sing in」をクリックします。 先ほど作成したTwitterアカウントの「Username」「Password」を入力し、「Log in」をクリックします。 ログインに成功すると右上にTwitterのアイコンが表示されるので、それをクリックし「My applications」をクリックします。 クリックすると「My applications
概要 Twitter の bot をつくってみようと、 TwitterOAuth をつかって、PHPからツイッターにツイートする、というのを http://webkaru.net/php/twitter-bot/ http://qiita.com/rana_kualu/items/357a031c0453a3538ad3 http://qiita.com/ltd/items/cb25853cabbaf98e456c などを参考にやってみようとしたら、意外とそのまま動かなかったので、まとめます。 ※上記記事が間違っているのではなく、以前から何か仕様がかわったのだろう、という仮定から2015年2月版とつけました。 準備 twitterのアカウント作る 省略 開発サイトでアプリケーションを作る 上記記事などで紹介されている https://dev.twitter.com/ にアクセスすると、よく
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く