A PHP library that provides an incredibly easy way to access Twitter data as JSON or RSS feed by URL or standard CLI syntax.
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. The Tweetledee files include caching to avoid exceeding the Twitter API v1.1 rate limits (see caveats in the documentation!).
cache_intervalURL parameter (with a value in seconds). Great big thanks to Christian Varga (@levymetal) for his contributions to this update! The non-cached versions of the files from v0.3.6 have been renamed with an appended
userrss_nocache.php) for anyone who would like to implement their own caching.
$TLD_JS = 1in the file to activate this capability.
-qand for multiple character parameters use long switches
listsjson.php, pretty printed JSON
You will need the following: - Access via URL: PHP version 5.3 or higher - Access via command line: PHP version 5.3 or higher - 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
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.
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
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.
favoritesrss.php] + [
homerss.php] + [
listsrss.php] + [
userrss.php] + [
searchrss.php] + [
favoritesjson.php] + [
homejson.php] + [
listsjson.php] + [
userjson.php] + [
searchjson.php] + + [
favoritesjsonpp.php] + [
homejsonpp.php] + [
listsjsonpp.php] + [
userjsonpp.php] + [
searchjsonpp.php] + [
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.
MIT License - see the LICENSE.txt file in the source distribution