I've been told that LinqToTwitter is updated to include the twitter new API for direct_messages/events. Though, for hours of searching and googling I couldn't find one good (ASP .Net C#) example of using LinqToTwitter (starting from the beginning).
So I have my twitter app 4 keys (consumerKey, consumerSecret, accessToken, accessTokenSecret), now what do I do?!
If anyone can just show me how do I start, then I can continue by myself! I've been using TweetMoaSharp but I think they are not planning to update it to include the new API from Twitter.
They're called
DirectMessageEvents, to distinguish them from the oldDirectMessages. Here's an example of how to create a new DM:As you can see, there's a new
DMEvententity. TheDMEvent.Valuecontains the Twitter response, and the other properties ofDMEventhold input parameters. Here's how to do a query that uses those parameters:Notice that the code uses cursors to move through the
DMEventlist. I have a task to document these. I do have sample code that you can peruse to see how to use the various methods in the LINQ to Twitter Direct Message Demos project in the source code.