PHP Classes

File: src/index.php

Recommend this page to a friend!
  Classes of Arash Soleimani   leomoon PHP Twitter RSS   src/index.php   Download  
File: src/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: leomoon PHP Twitter RSS
Generate RSS feeds from Twitter user statuses
Author: By
Last change:
Date: 3 years ago
Size: 552 bytes


Class file image Download
// example
include_once dirname(__FILE__) . '/twitter2rss.class.php';
$screenName = 'YourTwitterAccountName';
$options = array(
'cache_dir'=>'./cache/', // default: ./cache/ (optional)
'cache_time'=>10, // minutes; default: 15 (optional)
'limit'=>10, // default: 20 (optional)

$rss = new twitter2rss($screenName, $options);