butblack: the problem is that T.get
is very likely executed asynchronously and that is why you must pass it a callback function. you can't return values from that callback function because it'll sometime later from the point of view of the code that comes after it.
butblack: you do what ever you have to do in the callback. that function is executed when the data you want (the reply) exists. forget about returning the data, just use it
butblack: think of async functions like depositing a check into an empty account. you can't use the money until the check has cleared. what you are trying to do is deposit a check and then withdraw money immediately
butblack: at some point you were going to do var tweet = TWEET( ... )
right? then you were going to use that tweet
for something right afterwards, no?
butblack: take (almost) everything you were going to do right after that TWEET call and stick it into a function - function afterTWEET(tweet){ .. }
and from your callback do afterTWEET(reply)
[10:32PM] ImBcmDth: butblack: ..that is the basic idea