I'm a beginner in C# and JSON, I've only been coding in Java (Basic stuff like reading/writing files, hashmaps, etc., no web development whatsoever, beginner programmer)
I'm a student and have been tasked to code a console app in C# which interacts with twitter. For now, I'm stuck with extreme basics. I'm trying to get tweets in a public timeline using JSON and C#. I've been successful with doing this through the use of Twitterizer, but I only found out recently that I cannot use 3rd-party libraries (other than NewtonSoft.JSON.dll), and must code everything from scratch. I would really appreciate it if someone could provide me with sample code that does this and preferably prints out the latest tweet and its corresponding user from the public timeline, so that I can roughly know how how data is read and used.
My understanding of JSON and C# is extremely limited, but this is what I know I'm supposed to do for a start:
- WebRequest w1 = WebRequest.Create("http://api.twitter.com/1/statuses/public_timeline.json");
- w1.getResponse();
- I don't know what to do / how to parse JSON files
Thank you