******************Display Twitter on your Website************************
Date: 2nd July 2013
Version 1.2
Update to tmhOauth.php
Updated cacert.pem

Date:  14th March 2013
Version: 1.1

Update to tmhOauth.php
Minor Bug fix. If style is left blank no date will be displayed
Added 'default' to display time in following format: March 14 2013


Date:  08-Nov-2012
Version: 1.0

1. Create a twitter app. If unsure go to http://www.worldoweb.co.uk/2012/create-a-twitter-app-for-the-new-api Grab your consumer key, consumer secret, user token and user secret.  SSHH don't tell anyone!
2. Extract and upload tmhOAuth.php and cacert.pem to your WP theme or child theme directory.
3. Open your functions.php and copy the contents of Display-Tweets-Function.php over to it.
4. Add the keys from step 1, above and add them to that function, approx lines 10-13
5. Figure out where you want to display your tweets, footer, sidebar maybe? and call the display_tweets function

Examples
********
Very basic call- replace 'YOUR TWITTER_ID' with your username
<?php display_tweets('','YOUR TWITTER_ID');?>

Displays your last 20 tweets with the time_since function with a child theme
<?php display_tweets('time_since','YOUR TWITTER ID',20,true);?>

There are more examples on the blog post

6. Style it with a little CSS- Example in display-twitter.css
7. Have fun and experiment ;-)


If you encounter any problems or have any suggestions then don't hesitate in contacting me @ tracy@worldoweb.co.uk or via twitter @ridgey28 or @worldoweb
This will probably be updated from time to time so please check back!
