}
    }
    private function getTwitterJSON()
    {
        require $this->lib . 'tmhOAuth.php';
        require $this->lib . 'tmhUtilities.php';
        $tmhOAuth = new tmhOAuth(array('host' => !empty($_POST) ? $_POST['request']['host'] : $_GET['request']['host'], 'consumer_key' => $this->consumer_key, 'consumer_secret' => $this->consumer_secret, 'user_token' => $this->user_token, 'user_secret' => $this->user_secret, 'curl_ssl_verifypeer' => false));
        $url = !empty($_POST) ? $_POST['request']['url'] : $_GET['request']['url'];
        $params = !empty($_POST) ? $_POST['request']['parameters'] : $_GET['request']['parameters'];
        $tmhOAuth->request('GET', $tmhOAuth->url($url), $params);
        return $tmhOAuth->response;
    }
    private function generateCFID()
    {
        // The unique cached filename ID
        return md5(serialize(!empty($_POST) ? $_POST : $_GET)) . '.json';
    }
    private function pathify(&$path)
    {
        // Ensures our user-specified paths are up to snuff
        $path = realpath($path) . '/';
    }
    private function consoleDebug($message)
    {
        if ($this->debug === true) {
            $this->message .= 'tweet.js: ' . $message . "\n";
        }
    }
}
$ezTweet = new ezTweet();
$ezTweet->fetch();
<?php
/*

Stan Scates
blr | further

stan@sc8s.com
blrfurther.com

Basic OAuth and caching layer for Seaofclouds' tweet.js, designed
to introduce compatibility with Twitter's v1.1 API.

Version: 1.4
Created: 2013.02.20

https://github.com/seaofclouds/tweet
https://github.com/themattharris/tmhOAuth

 */

if(empty($_POST)) { die(); }

class ezTweet {
	/*************************************** config ***************************************/
   // Enter your Twitter App Consumer Key between the '' signs
	private $consumer_key = 'U3fxy8E3gQ6ACo0vm3W0zw';
	// Enter your Twitter App Consumer Secret between the '' signs
	private $consumer_secret = '0HUxFGire6xcJZqFwXoA7kUP10HkrALAgsxJFHE';
	// Enter your Twitter App Access Token between the '' signs
	private $user_token = '308471286-C77lvJhvjnUpp81tWEkY76cdCYB7fdRYewyg9K8c';