Git Product home page Git Product logo

tweetie's Introduction

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.

tweetie's People

Contributors

brunobatista avatar chrisschramm avatar jenbuzz avatar julienmelissas avatar nazarkinroman avatar sonnyt avatar tobiasartz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.