Titanium Appcelerator Quickie: Twitter Photo API - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

PLEASE SEE THIS POST FOR UPDATED INFORMATION ON TITANIUM APPCELERATOR TWITTER INTEGRATION

Few months ago Twitter announced their new photo API. I had been using the KitchenSink style photo upload but wanted to try out the new API.

It took awhile to get it right because messing with oAuth is always a pain in the ass; but I wanted to share the code and ease some of the oAuth pain.

I use a modified version of birdhouse.js as my twitter client, still waiting for the winner to be selected from the Appcelerator Contest, but the one on github should be fine.

Here is the code, just add it to your birdhouse.js file and enjoy

http://gist.github.com/1272760

Here is how I used the code

http://gist.github.com/1553464