InstaPaperHelper class

Simple class for adding items to a user's InstaPaper "Read Later" queue.


var helper = new InstaPaperHelper(userName, password);
helper.AddToInstaPaperAsync(
  new Uri("http://phoney.codeplex.com"), 
  "PhoneyTools",
  success =>
  {
    if (success) MessageBox("Added to InstaPaper!");
  });

// OR Use the Static Version

InstaPaperHelper.AddToInstaPaperAsync(
  userNameBox.Text, 
  pwdBox.Password, 
  new Uri("http://phoney.codeplex.com"), 
  "PhoneyTools",
  success =>
  {
    if (success) MessageBox("Added to InstaPaper!");
  });

Last edited Mar 23, 2011 at 8:01 PM by TheADOGuy, version 1

Comments

No comments yet.