Here's an example code for the new Smart Media Tokens dApps
SMT.begKindly("WhaleUserName", "postUrl")
.then(function(response)
{
if(response.HasVotedMe){
response.UpvoteBack();
response.Comment("Thank you so much, thankthankthankthankthank");
}
else
{
response.CircleJerk();
response.BidBot();
response.EpicFlagWar();
}
});
this is a joke