jQuery Tweetie - Simple Twitter Feed Plugin

Jun. 07, 2013
jQuery Tweetie - Simple Twitter Feed Plugin

jQuery Tweetie - Simple Twitter Feed Plugin.

Features

  • Easly template tweets using mustache-like syntax
  • Format tweet timestamp using Linux/Unix %d/%m/%Y time formatting syntax
  • Set tweet count
  • Hide replies and only show your own tweets

Usage

New Twitter API requires oAuth Token Key, so it’s three step process.

Step 1

First, you need a consumer key and secret keys. Get one from dev.twitter.com/apps.

Step 2

Edit api/config.php file and replace variables with your Consumer and oAuth Keys.

<?php
    // Consumer Key
    define('CONSUMER_KEY', 'CONSUMER_KEY_HERE');
    define('CONSUMER_SECRET', 'CONSUMER_SECRET_HERE');

    // User Access Token
    define('ACCESS_TOKEN', 'ACCESS_TOKEN_HERE');
    define('ACCESS_SECRET', 'ACCESS_SECRET_HERE');
?>

Step 3

Initlize just like any other plugin.

$('.tweet').twittie();

Read more on GitHub…

Sonny T.

I am a New York City based web developer. Currently a Front End Developer at RockThePost. I'm also a designer, developer and the wizzard at ThemeWizz.

Just a blog.