Giter VIP home page Giter VIP logo

tweetledee's Introduction

Tweetledee

A PHP library that provides an incredibly easy way to access Twitter data as JSON, pretty printed JSON, or RSS feeds by URL or standard command line syntax.

Flattr Tweetledee! Flattr Tweetledee!

Documentation

Current Release

  • 0.3.6 : bug fix for multi-parameter search query exception bug issue #30. Thanks much for the issue report @adjeD!

Recent Changes

  • 0.3.5 : bug fix for Twitter search filters issue #28. Thanks much for the issue report @molis83!
  • 0.3.4 : added Python and Ruby wrappers for the Tweetledee files
  • 0.3.3 : bug fixes for issue #15 & issue #16. Thanks much for the contributions from @jjschwartz, @kabookey, and @mikeklimczak.
  • 0.3.2 : bug fixes for issue #14
  • 0.3.1 : Updated all standard JSON files with cross site access to your Twitter JSON data from client side JavaScript code (sets the Access-Control-Allow-Origin header to accept all connections, i.e. cross origin resource sharing). Defaults to off. Set the flag $TLD_JS = 1 in the file to activate this capability.
  • 0.3.0 : You can now access Tweetledee from the command line locally or remotely via SSH and pipe the output to any application. Data is returned via the standard output stream when you access files with a terminal. Tweetledee will parse the parameters as standard command line switches. For single character parameters use short switches -q and for multiple character parameters use long switches --user.
  • 0.2.9 : Added Twitter user lists RSS feeds listsrss.php, JSON listsjson.php, pretty printed JSON listsjson_pp.php

The 1.5 Minute Guide to a Successful Install

You will need the following:

  • Access via URL: PHP version 5.3 or higher (5.4 or higher for pretty printed JSON)

  • Access via command line: PHP version 5.3 or higher (5.4 or higher for pretty printed JSON)

  • libcurl installed (provides cURL - http://curl.haxx.se/libcurl/)

  • A Twitter application account from which you will obtain the:

    1. consumer key
    2. consumer secret
    3. access key
    4. access secret

3-Step Installation instructions:

  1. Open the file on the path tweetledee > tldlib > keys > tweetledee_keys.php in any text editor and enter the information that you obtained from your Twitter app in the corresponding fields. Leave the single quotes around the alphanumeric strings that you enter.

  2. Upload the 'tweetledee' directory (that is located in the directory where this README file resides) to the public facing directory on your web server. On many servers, this is the public_html directory

  3. Kick the tires with the following test (it gives you a user timeline RSS feed for your account): http://[yourdomain]/tweetledee/userrss.php

That was easy... Go crazy, be good, have fun.

What You Get

RSS Feeds

Twitter Favorites RSS Feed [favoritesrss.php]
Twitter Home Timeline RSS Feed [homerss.php]
Twitter User Lists RSS Feed [listsrss.php]
Twitter User Timeline RSS Feed [userrss.php]
Twitter Search RSS Feed [searchrss.php]

JSON

Twitter Favorites JSON [favoritesjson.php]
Twitter Home Timeline JSON [homejson.php]
Twitter User Lists JSON [listsjson.php]
Twitter User Timeline JSON [userjson.php]
Twitter Search JSON [searchjson.php]

Pretty Printed JSON

Twitter Favorites Pretty Printed JSON [favoritesjson_pp.php]
Twitter Home Timeline Pretty Printed JSON [homejson_pp.php]
Twitter User Lists Pretty Printed JSON [listsjson_pp.php]
Twitter User Timeline Pretty Printed JSON [userjson_pp.php]
Twitter Search Pretty Printed JSON [searchjson_pp.php]

Usage

Tweetledee Usage Examples

Bugs & Questions

If you find a bug, please post it as a new issue on the GitHub repository with this information in your report.

Looking for support? Check this page.

Contribute

If you would like to contribute to the project, by all means, please do so. Fork the Tweetledee development branch and submit a pull request back to the repository.

License

MIT License - see the LICENSE.txt file in the source distribution

✪ Chris

tweetledee's People

Contributors

chrissimpkins avatar georgedorn avatar

Watchers

Stéphane Deluce 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.