By MBPDLPayday Loan

Navarr's Tech Side The Technical Side of my Life

simpleTAPI

The Twitter API Library is a simplistic library that accesses the Twitter API in a similar fashion to the Facebook PHP Library.

The Library was built with the focus being on applications that accessed authenticated user data, and currently does not support Un-Authenticated Requests, nor the Search API. Support for Twitter Lists will be included once the official documentation has been finalized. Includes support for Project: Retweet.

Current version (v0.2.1b16) available at github.

Example Usage

<?php
	require_once("Twitter.lib.php");
	$twitter = new Twitter($key,$secret);
	$tw = new TWML($twitter); // v0.1b4+ ONLY
	$twitter->require_login();
?>
Hello there, <?= $tw->name(null,array("useyou"=>false)); ?>.

Assuming the User logged in is "Navarr," the script returns:

Hello there, Navarr Barnier.

Usage License

Creative Commons License

Twitter API Library by Navarr T. Barnier is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License.
Based on a work at codepad.org.
Permissions beyond the scope of this license may be available at mailto:[email protected].

Known Issues

  • No Support for Unauthenticated Requests.
  • Two instances of Twitter API Library can not co-exist on the same sub-domain.
  • $twitter->api->lists_destroy() is returning “Incorrect Signature.”
%d bloggers like this: