My favorites | Sign in
Project Logo
                
Feeds:
People details
Project owners:
  himanshu.hajariwala

The Csharptwitt is an Implementation of Twitter Api in c#.

In this project most of the commonnly used methods are captured.

The Csharptwitt API is differentiated in two catogories:

1. PublicTwitt

API which are not required user authentication.
2. UserTwitt
API which are required user authentication.

PublicTwitt

SEARCH API Methods

search trends trends/current trends/daily trends/weekly

REST API Methods

Timeline Methods
statuses/public_timeline

Status Methods
statuses/show
User Methods
users/show

Example:

To get publictimeline from twitter without authentication ( without user login ) in xml format.

Twitter.PublicTwitt pubTwitt = new Twitter.PublicTwitt();
string strResult= pubTwitt.GetPublicTimeline(Twitter.OutputFormatType.xml);

UserTwitt

REST API Methods
Timeline Methods

statuses/home_timeline SOON
statuses/friends_timeline
statuses/user_timeline
statuses/mentions
statuses/retweeted_by_me SOON
statuses/retweeted_to_me SOON
statuses/retweets_of_me SOON
Status Methods
statuses/show
statuses/update
statuses/reply
statuses/destroy
statuses/retweet SOON
statuses/retweets SOON
User Methods
users/show
statuses/friends
statuses/followers

Direct Message Methods

direct_messages
direct_messages/sent
direct_messages/new
direct_messages/destroy

Friendship Methods

friendships/create
friendships/destroy

Favorite Methods
favorites
favorites/create
favorites/destroy

Example:

To get autheticated user hometimeline ( as seen on user home page in twitter)

Twitter.UserTwitt userTwitt= new Twitter.UserTwitt();
string strHomeTimeLine = userTwitt.GetHomeTimeline("username", "password", Twitter.OutputFormatType.xml);

There is also implementation of few methods which are tag as soon at twitter and this api are not tested but develped according twitter api document.









Hosted by Google Code