Skip to content

Instantly share code, notes, and snippets.

@shinypb
Created April 7, 2011 23:57
Show Gist options
  • Select an option

  • Save shinypb/909030 to your computer and use it in GitHub Desktop.

Select an option

Save shinypb/909030 to your computer and use it in GitHub Desktop.
twttr.currentUser.relationshipWith(name, {
success: function(relationship) {
if (canDM) {
that.trigger('dmSuccess', [tweet, that.options.statusAction]);
} else {
error();
}
},
error: error
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment