Skip to content
Simple PHP Wrapper for Twitter API v1.1 calls
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 13 commits behind J7mbo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Even more simple PHP Wrapper for sending tweets to twitter via API v1.1 calls

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

You really can't get much simpler than that.


Just include TwitterAPI.php in your application.

How To Use

Include the class file


Create a new object

$twitter = new TwitterAPI(

Send a tweet

$twitter->tweet("THIS IS YOUR TWEET");

Send a tweet with an image

$twitter->tweetImage('THIS IS A TWEET WITH AN IMAGE', 'path/to/image.jpg');

That is it! Really simple, works great with the 1.1 API.
Thanks to @lackovic10 and @rivers on SO and James Mallison for their awesome work!

You can’t perform that action at this time.