views:

396

answers:

1

I just downloaded the DotNetOpenAuth library and ran the AuthConsumer demo. It is an excellent library so far! Everything worked as advertised, which has not been my experience with a lot of Facebook and Twitter sample code that I have been working with recently.

What I am trying to figure out is: How do I tweet using this library? I am currently planning to implement this in ASP MVC, but my initial thoughts is that the presentation platform doesn't matter all that much at the level I'm looking at.

+3  A: 

Take a look at the DotNetOpenAuth.ApplicationBlock sample, which includes the Twitter.cs file and the very few sample web method calls that that file has. You can see the pattern, and having looked at the Twitter API documentation on twitter.com, you can add methods to tweet and a bunch of other stuff.

However, it would probably be much easier for you to download LinqToTwitter, which uses DotNetOpenAuth and offers an extensive Twitter library to do most/all the operations Twitter supports.

Andrew Arnott
Thanks Andrew, for posting your response. I actually figured out how to do this later in the day-- exactly as you state here, by looking at the API docs and looking at your Twitter.cs file. I'll post more details about how to do this later, when I have a little more time.
MedicineMan