Skip to content
This repository has been archived by the owner on Apr 25, 2018. It is now read-only.

dborisenko/twitter-actionscript-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Twitter API library for Flex/AIR/ActionScript 3.0

ActionScript 3.0 library for Twitter API. For use in Adobe Flash, Adobe Flex, Adobe AIR.

oAuth connector is implemented using ActionScript 3.0 library for oAuth.

Example of using:

var twitterApi:TwitterAPI = new TwitterAPI();
twitterApi.connection.setAccessToken(key, secret);

var op:TwitterOperation = new VerifyCredentials();
var handler:Function = function (event:TwitterEvent):void
{
	op.removeEventListener(TwitterEvent.COMPLETE, handler);
	if (event.success)
	{
		trace("Credentials verified. User is: " + TwitterUser(event.data).screenName);
	}
	else
	{
		trace("Verification error. Twitter error message: " + event.data);
	}
};
op.addEventListener(TwitterEvent.COMPLETE, handler);
twitterApi.post(op, TwitterAPI.POST_TYPE_ASYNC_STATIC, TwitterAPI.PRIORITY_HIGHEST);

About

Twitter API library for Flex/AIR/ActionScript 3.0

Resources

Stars

Watchers

Forks

Packages

No packages published