Skip to content

Instantly share code, notes, and snippets.

@mkoby
Created October 19, 2009 13:43
Show Gist options
  • Save mkoby/213365 to your computer and use it in GitHub Desktop.
Save mkoby/213365 to your computer and use it in GitHub Desktop.
using System;
using TwitterNET;
namespace MyApp
{
public class MyApp()
{
Twitter t = new Twitter("myusername", "mypassword");
IList<StatusMessage> statusMessages = t.GetFriendsTimeline(new StatusRequestOptions); //Returns list of statuses with no parameters passed
foreach(StatusMessage status in statusMessages)
Console.WriteLine("{0}: {1}", status.Author.ScreenName, status.MessageText);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment