Skip to content
This repository has been archived by the owner. It is now read-only.
A jQuery plugin to fetch tweets from a person or it's list.
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
example.html
jquery.twitter.fetcher.js
jquery.twitter.fetcher.min.js
minify.sh

README.md

jQuery Twitter Fetcher

A simple plugin to include some tweets to your html page.

Simple usage:

Remember to include jQuery and the jquery.twitter.fetcher files on your page:

jQuery('#tweets_holder').twitter_fetcher({user: 'jaysonsantos', limit: 10});

This will show user's tweets inside #tweets_holder. If you want to display a user's list do this.

jQuery('#tweets_holder').twitter_fetcher({user: 'jaysonsantos', limit: 10,
    list: 'test_list'});

Check example.html inside the repository to see it working or try the project GitHub page.

Other usages:

You can override some options like this:

jQuery('#tweets_holder').twitter_fetcher({user:'jaysonsantos', limit:10,
    profile_name: true, profile_screen_name: false,
    format_date_callback: your_callback});

Where profile_name will show user real name, and format_date_callback will execute a custom callback to display dates, for example, if you want to translate that information.

You can’t perform that action at this time.