Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An object-oriented PHP interface to the Twitter API

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGES
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 twitter.lib.php
twitterlibphp - Twitter/PHP interface

This is a simple interface to the Twitter API.

I've tried to keep as close as possible to the real API
calls (some had to be changed due to ambiguity), but all
of the arguments are as they are in the official docs.

For documentation, go to:


  $twitter = new Twitter("username", "password");
  $public_timeline = $twitter->getPublicTimeline();

  When you go through the docs, a lot of methods just take
an $options array and a $format parameter. The $options array
allows you to pass API arguments just like you would if you
were calling it from pure HTTP. For example:

  $twitter->getMentions(array('page'=>2), 'json')

  is mapped to...

Justin Poliey <>
Something went wrong with that request. Please try again.