Skip to content

jdp/twitterlibphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitterlibphp - Twitter/PHP interface
http://jdp.github.com/twitterlibphp

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:

  http://jdp.github.com/twitterlibphp/doc
  http://apiwiki.twitter.com

Usage:

  $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...

  http://twitter.com/statuses/mentions.json?page=2

Justin Poliey <jdp34@njit.edu>
http://justinpoliey.com
@justinpoliey

About

An object-oriented PHP interface to the Twitter API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages