Skip to content

Instantly share code, notes, and snippets.

@triptych
Forked from kwhinnery/gist:233193
Created January 4, 2010 18:36
Show Gist options
  • Save triptych/268722 to your computer and use it in GitHub Desktop.
Save triptych/268722 to your computer and use it in GitHub Desktop.
var url = "https://"+un+":"+pw+"@twitter.com/statuses/update.json";
var xhr = Titanium.Network.createHTTPClient();
xhr.onload = function() {
// Handle response
};
xhr.open("POST",url);
xhr.send({ status:'My awesome tweet!' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment