0
I Use This!
Activity Not Available
Analyzed 7 months ago. based on code collected 7 months ago.

Project Summary

URLShorten is an AS3 class with a collection of URL shortening services

Usage

var url:String = 'http://code.google.com/p/urlshorten/';
var us:URLShorten = new URLShorten();

us.addEventListener(URLShortenEvent.ON_URL_SHORTED, onUrlShorten);
us.tinyurl(url);

function onUrlShorten(event:URLShortenEvent):void
{
trace(event.service +":", event.url);
}

Factory, Error Handler and ApiKey Sample

var url:String = 'http://code.google.com/p/urlshorten/';
var us:URLShorten = new URLShorten();

us.addEventListener(URLShortenEvent.ON_URL_SHORTED, onUrlShorten);
us.addEventListener(URLShortenEvent.ON_ERROR, onError);
us.factory(url, 'bitly', "[your login]", "[your apiKey]");

function onUrlShorten(event:URLShortenEvent):void
{
trace(event.service +":", event.url);
}

function onError(event:URLShortenEvent):void
{
trace("Error:", event.data);
}

Service List

Name Link TinyURL http://tinyurl.com/ is.gd http://is.gd/ SNURL http://snurl.com Migre.me http://migre.me/ bit.ly http://bit.ly/ Digg http://digg.com/ tr.im http://tr.im/ kl.am http://kl.am/ Short.ie http://short.ie/

Comments?Follow me on twitter: @LucasAraujo

Tags

flex shorten service as3 api url shortening collection

In a Nutshell, urlshorten...

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free tool to discover if there are open source vulnerabilities in your code
  • ...
    you can subscribe to e-mail newsletters to receive update from the Open Hub blog
  • ...
    there are 3xxx projects on the Open Hub with security vulnerabilities reported against them
  • ...
    you can embedded statistics from Open Hub on your site

30 Day Summary

Apr 9 2016 — May 9 2016

12 Month Summary

May 9 2015 — May 9 2016

Ratings

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!