Browse files

Adding <?php to readme for syntax highlighting

  • Loading branch information...
1 parent 6e52c8e commit a1c5c59f7c37e2e40e0c81ef704a9819ab844669 @cakebaker committed May 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0
@@ -19,6 +19,7 @@ In the `index` method a request token is obtained and the user is redirected to
In the `callback` method the request token is exchanged for an access token. Using this access token, a new status is posted to Twitter. Please note that in a real application, you would save the access token data in a database to avoid that the user has to go through the process of getting an access token over and over again.
// Controller/TwitterController.php
App::import('Vendor', 'OAuth/OAuthClient');

0 comments on commit a1c5c59

Please sign in to comment.