/jquery-mytweets

A jQuery twitter plugin. Shows your latest tweets.

Primary LanguagePHPMIT LicenseMIT

Description

MyTweets: A jQuery twitter plugin. Shows your latest tweets.

The latest version of MyTweets support the Twitter API v1.1

Getting Started

  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>
  1. Call the mytweets function to any div element:
	<script>
		$(function()
		{
			$('#divTweets').mytweets({screen_name: 'twitter', count: '15'});
		});
	</script>
  1. Create you empty container and give it a id:
	<div id="divTweets"></div>
  1. On config.php complete your Twitter settings:
OAUTH_TOKEN
OAUTH_TOKEN_SECRET
CONSUMER_KEY
CONSUMER_SECRET

License

This project is licensed under the [MIT license] (https://github.com/vicentegarcia/jquery-mytweets/blob/master/MIT-LICENSE.txt)