actionscript 2 - send a tweet from flash using as2? -


i need send tweet flash, i've been looking solution on net, found using as3. since don't know of as3, becomes difficult edit everything.

i wonder if it's possible.

does know solution?

posting tweet requires user being authenicated via oauth. assuming have user authenicated, can post data url:

http://twitter.com/statuses/update.xml 

w/ post vars: status, in_reply_to_status_id (optional)

something this:

var lv:loadvars = new loadvars() lv.status = 'mystatus' lv.in_reply_to_status_id = 'xxxxxx' lv.ondata = mydatahandlerfunction lv.sendandload( 'http://twitter.com/statuses/update.xml', lv, 'post'); 

the authentication process oauth complex. there few oauth libs out there flash, as3.

if set on as2, can use serverside oauth library can interface as2 app with. twitteroauth

all signs point learning as3 if plan on doing real flash/twitter work, can , running as2 little more work.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -