John Cox

Blogs · @wyome

Tagged twittersift · everything

Writing Your First Twitter Application with OAuth | Snipe.Net

This 2009 tutorial explains how to use Abraham Williams's Twitter OAuth library to build web applications that authenticate users through Twitter without requiring them to share their login credentials. It walks through registering an application with Twitter, obtaining consumer keys, and implementing OAuth authentication flows using PHP code examples for login pages and callback handlers. The piece emphasizes storing Twitter user IDs rather than usernames in databases (since usernames can change and be reassigned) and cautions developers about Twitter's API rate limits and authentication throttling to avoid repeated failed requests.

Permalink