Skip to content

shohe05/twitter_api_sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter_api_sample

abraham/twitteroauthを用いてTwitterの認証やツイートなどをしてみるサンプルです。

使い方

  1. config-sample.phpをconfig.phpにリネーム

  2. config.phpを編集

    define('CONSUMER_KEY', 'YOUR APP CONSUMER_KEY');
    define('CONSUMER_SECRET', 'YOUR APP CONSUMER_SECRET');
    define('OAUTH_CALLBACK', 'YOUR APP CALLBACK_URL');

事前にTwitterに登録した諸々のキーやコールバックURLを入力。

以上の設定が終わったらindex.phpにアクセス。

Releases

No releases published

Packages

No packages published

Languages