How to get twitter user timeline in C# using Twitterizer

Posted by Adeel on Stack Overflow See other posts from Stack Overflow or by Adeel
Published on 2010-01-28T10:54:40Z Indexed on 2010/05/28 18:52 UTC
Read the original article Hit count: 1258

Filed under:
|
|
|
|

i have the following code.

 
Twitter t1 = new Twitter("twitteruser","password");
                TwitterUser user =  t1.User.Show("username");
                if (user != null)
                {
                    TwitterParameters param = new TwitterParameters();
                    param.Add(TwitterParameterNames.UserID, user.ID);
                    TwitterStatusCollection t =t1.Status.UserTimeline(param);                   
                }

In the above code, I want to get user timeline. I am using Twitterizer API. The twitter documentation for getting timeline of user is Here

I have checked the fiddler whats going on. In fiddler the request is :

http://api.twitter.com/1/direct_messages.xml?user_id=xxxxx

while i am expecting

http://twitter.com/statuses/user_timeline.format

Is anything left which i miss.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET