开发者

tiny URL api Automati in flex 3

i am working in application 开发者_Python百科of twitter in flex 3 and action script 3 , this in the text area when the user write my application automatically change http address to a short address but i don't know find the address within the text you can help me please..

thanks in advance


if you can use http webservices try to use one provided by bit.ly to shorten url

http://code.google.com/p/bitly-api/wiki/ApiDocumentation#/shorten

http://api.bit.ly/shorten?version=2.0.1&longUrl=' + textarea.text}" result="doSomething(event)"/>


I've never used this api, so research before use: http://userflex.wordpress.com/2008/05/29/tinyurl-flex-library/

It looks like a set of utility functions a simple as: TinyURL.create(url,callbackFunction);

Best of luck, Jeremy

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜