TwitterOAuth
Documentation and demo site for the TwitterOAuth PHP library.
Development
- Register a Twitter app.
- Set
http://localhost:8000/callback.phpas a "Callback URL" in the newly registered application. - Copy
.env.templateto.env. - Set the
CONSUMER_KEYandCONSUMER_SECRETin.env. - Run
./scripts/dev.sh. - Visit http://localhost:8000/.
Deploy
- Create a Heroku app.
- Register a Twitter app.
- Set Heroku config vars for
CONSUMER_KEY,CONSUMER_SECRET, andOAUTH_CALLBACK. OptionallyGOOGLE_ANALYTICS_IDandTEMPLATE_CACHE_ENABLED. - Push code to Heroku.