How to get twitter custom timeline in C # using Twitterizer

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 the user timeline. I am using the Twitterizer API. Twitter documentation to get user timeline here

I checked the violinist what was going on. In the scripter, the request is:

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

while i expect

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

Something left that I missed.

+3
source share
3 answers

This is a bug in the latest version of the Twitterizer library.

I will try to fix this and post the update today.

- , Twitterizer (http://www.twitterizer.net/), , Twitter , .

( Twitterizer)

+6

, oAuth , :

UserTimelineOptions options = new UserTimelineOptions();
options.ScreenName = "SCREENNAME OF TWITTER USER";
TwitterStatusCollection tweets = TwitterTimeline.UserTimeline(options).ResponseObject;
+3

. Twitterizer , , , .

? , ; .

, (twitterizer.net), . , , twitterizer2, , .

Ricky, how about being a lifesaver for me and others and showing us how to just look at a custom timeline, so there’s no need for authorization? Whaddya'say?
0
source

Source: https://habr.com/ru/post/1730362/


All Articles