draconis
draconis

Reputation: 609

How to view the raw XML or Json response using LinqToTwitter?

How can I view the raw XML or Json response when doing a search for users using the LinqToTwitter library? I'm using the SingleUserAuthorizer for oAuth.

If you have any ideas using other libraries or even a simple oAuth framework, I'm open to suggestions.

Thanks.

Upvotes: 1

Views: 649

Answers (2)

Joe Mayo
Joe Mayo

Reputation: 7513

TwitterContext has a RawResults property you can use.

Upvotes: 2

Jon Skeet
Jon Skeet

Reputation: 1502546

If this is just for debugging purposes, I'd use Wireshark or Fiddler - that way you get to see the complete HTTP requests/responses.

Upvotes: 0

Related Questions