This project has moved and is read-only. For the latest updates, please go here.

Return Raw Json Data from Api Call

Sep 19, 2014 at 1:37 PM

Just started using LinqToTwitter and I'm wondering if there is a way to get just the raw json response from twitter? I tried Console.WriteLine(twitterCtx.RawResult); but it was just a blank line. Any thoughts?
Sep 19, 2014 at 9:45 PM

It looks like you're accessing the correct property. RawResult populates after a query completes. However, I did look at the commands and noticed it wasn't implemented over there. There's also a TwitterContext.ExcludeRawJson property that will prevent that from being populated if sent to true. I'll take this as a task to add populating RawResult with commands.

Sep 19, 2014 at 9:45 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.