A class to make integrating with the new Twitter API easy.
Twitter API 1.1 requires you to create API keys on the developer site.
- Login to Twitter Dev site with the account you want to use. https://dev.twitter.com/
- Go to "My Applications" https://dev.twitter.com/apps
- Create a new Twitter app. Fill in all fields, but leave Callback_Url blank.
- After the app is created, go to its detail page and create an access token for it.
- You need Consumer Key, Consumer Secret, Access Token, and Access Token Secret. (In that order)
NOTE: Sometimes Twitter is slow or down, so it is best to consume the Tweet class from a web service which is called from JavaScript after the page has loaded to reduce page load time.