Managed Hosting



twitPic API
Project Home Blog Contact Project

Author: Matt Gifford aka coldfumonkeh (All RIAForge projects by this author)
Last Updated: March 8, 2010 11:07 AM
Version: v1.1
Views: 15,291
Downloads: 871
License: Apache License, Version 2


The twitpic API code is a custom-written ColdFusion wrapper to interact with the TwitPic photo-uploading API.

The interface is managed through the single twitpic object, containing one simple public-facing method: 'upload'.

The single function will handle the photo upload to the user's twitpic account (using their twitter username and password).

An optional string message can also be sent in the POST request, which will generate a tweet with the URL of the new image appended to the status update.

== Debugging ==

The twitpic object accepts a non-required parameter to toggle the format of the response output.
This allows the response to be output as a string or as structural information through the use of XmlParse().


ColdFusion MX 7