Skip to content
Simple jQuery Twitter feed plugin
Branch: master
Clone or download
Latest commit 2494ca9 Oct 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Update README.md Mar 27, 2018
dist new node.js api Mar 26, 2018
docs Update script.js Oct 8, 2018
src returning the entire error message. Mar 29, 2018
test/utils Update entities-test.js Jan 12, 2018
.gitignore initial commit Apr 17, 2017
.travis.yml Removed the io.js May 4, 2017
README.md Update README.md Jan 4, 2018
package.json returning the entire error message. Mar 29, 2018
webpack.config.js fixed the property selection Nov 1, 2017

README.md

Tweetie Build Status

jQuery Tweetie - Simple Twitter Feed Plugin that works with new Twitter API.

Install

Download the lastest version of jQuery Tweetie.

In order to successfully use jQuery Tweetie, you have to have server-side/backend API. The plugin comes with very simple PHP backend that you can easily setup and get going.

Use

Initialize just like any other plugin.

$('.tweets').tweetie();

Settings

Property Type Description
url String Required. API URL.
type String Required. Fetch tweets via hashtags, search terms, username and lists. Available options timeline, list, search and hashtag.
template String Required. Template for each individual tweet. Learn more here.
params Object Required. Parameters required to fetch collection of relevant tweets matching a specified query. Only timeline, list and search/hashtag params are accepted.
dateFormat String Formating for created_at attribute. Learn more here.

Templating

Tweetie uses curly brace templating syntax. You can access any tweet properties using the {{}} double curly brase. For your convinece every link, @username and #hashtag in the tweet body is automatically hyper-linked.

Example

{{tweet.text}} tweeted by {{tweet.user.screen_name}} at {{tweet.created_at}}

Date Format

Format Example Description
%d 1..31 Day of month
%m 1..12 Month number
%B January..December Month name
%b Jan..Dec Month name abbreviated
%Y 2018 4 digit year
%y 18 2 digit year

Date format automatically applies to created_at template attribute.

You can’t perform that action at this time.