Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter

Simple PHP Wrapper for Twitter API (recently updated)

The aim of this class is simple. You need to:

It really can't get much simpler than that.

Installation

Normally: If you don't use composer, don't worry - just include Twitter.php in your application.

Via Composer:

{
    "require": {
        "API-TFL/Twitter": "dev-master"
    }
}

Of course, you'll then need to run php composer.phar update.

How To Use

See "example.php" file for practical example usage.

Set access tokens

define('TWITTER_OAUTH_ACCESS_TOKEN',        '132-yabcDHkjKyabcDHkjKyabcDHkjKyabcDHkjK');
define('TWITTER_OAUTH_ACCESS_TOKEN_SECRET', 'yabcDHkjKyasssKyabcDHkjKyadddbcDHkjK');
define('TWITTER_CONSUMER_KEY',              '1sd32a1sd21a2d31s32a1');
define('TWITTER_CONSUMER_SECRET',           'tDASDSAOpopopokdDADsasadsa');

And then Include the class file

require_once 'Twitter.php';

About

Twitter API

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages