How to use REST API to retreive last tweets




I have tried many twitter libraries but get errors so I decided to do this from scratch using the:

What I wonder is how to use C# to authorize as I have all the tokens. Then is the goal to use
"" to get the last tweets on the timeline but I don’t know how to even start the first line of code as I can’t find any examples.

I would be greatful for any help how to do this.



You mentioned that you’ve lots of libraries but get errors - what kind of errors are you seeing when you use them?

If you are using C# then there are a range of options available such as Tweetinvi and LinqToTwitter which have their own example code.

The reason I’m suggesting using one of these is that they do all of the hard work in OAuth for you, and should save you a lot of time!