Skip to content

Instantly share code, notes, and snippets.

@wanewang
Created March 25, 2012 17:36
Show Gist options
  • Save wanewang/2198518 to your computer and use it in GitHub Desktop.
Save wanewang/2198518 to your computer and use it in GitHub Desktop.
post
Titanium.Facebook.requestWithGraphPath(ID + CONNECTION_TYPE, {
message : 'hello~'
}, "POST", function(e) {
if(e.success) {
alert('success');
} else if(e.error) {
alert(e.error);
} else {
alert('Unknown response');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment