MyTweets: A jQuery twitter plugin. Shows your latest tweets.
The latest version of MyTweets support the Twitter API v1.1
- Include the JS file into your page after jQuery:
<script src="http://code.jquery.com/jquery.min.js"></script>
<script src="jquery.mytweets.js"></script>
- Call the mytweets function to any div element:
<script>
$(function()
{
$('#divTweets').mytweets({screen_name: 'twitter', count: '15'});
});
</script>
- Create you empty container and give it a id:
<div id="divTweets"></div>
- On config.php complete your Twitter settings:
OAUTH_TOKEN
OAUTH_TOKEN_SECRET
CONSUMER_KEY
CONSUMER_SECRET
This project is licensed under the [MIT license] (https://github.com/vicentegarcia/jquery-mytweets/blob/master/MIT-LICENSE.txt)