Cloud and Glue
Last July, I blogged about how to do OAuth in Windows 8 with LINQ to Twitter: http://geekswithblogs.net/W... A the time, that worked well, but was still not an optimal solution. It required setting up a page to handle a WebBrowser control, navigating to that page, authorizing, and then asked the user to copy a PIN into a text box to complete the dance. You still have to do that with desktop and Windows Phone apps, but not with Windows ......
When first working with the Twitter API, I thought that using SinceID would be an effective way to page through timelines. In practice it doesn’t work well for various reasons. To explain why, Twitter published an excellent document that is a must-read for anyone working with timelines: Twitter Documentation: Working with Timelines This post shows how to implement the recommended strategies in that document by using LINQ to Twitter. You should read the document in it’s entirety before moving on because ......
I uploaded a bunch of new Windows 8 samples for LINQ to Twitter this week: http://linqtotwitter.codepl... @JoeMayo ......
Update (1/19/2013): This doesn't work anymore and there's a better way to perform OAuth with LINQ to Twitter on Windows 8. Please see WinRtAuthorizer–A Better Way to do OAuth with LINQ to Twitter in Windows 8WinRtAuthorizer–A Better Way to do OAuth with LINQ to Twitter in Windows 8.In previous posts, I explained how to use LINQ to Twitter with Windows 8, but the example was a Twitter Search, which didn’t require authentication. Much of the Twitter API requires authentication, so this post will explain ......
Funny, after having blogged today about not using Portable Libraries because of lack of features the BCL team released Portable Library Tools 2 Beta. Since IQueryable is supported too I’ll have to take another look for LINQ to Twitter. @JoeMayo ......
In the Developer Preview of Windows 8, Visual Studio 11 conveniently allowed references to .NET 4.0 apps. I had blogged previously on how to use LINQ to Twitter with Windows 8. Subsequently, the Consumer Preview of Windows 8 no longer allowed references to .NET libraries and requires references to Windows 8 Metro Style Application Libraries. I looked at Portable Class Libraries, but that doesn’t work because LINQ to Twitter is an IQueryable LINQ provider, which isn’t supported. So, I redirected my ......
The first annual Chirp has been scheduled for 14-15 April in San Francisco. Chirp is a conference, sponsored by Twitter, about the Twitter platform. http://chirp.twitter.com To attend the conference, you'll need to obtain the password by executing the users/show command. There are plenty of tools to help you do this if you have some degree of programming skill. Of course, there is a .NET LINQ provider, LINQ to Twitter, that can help perform this task with ease. In LINQ to Twitter terms, you would ......
One of the new data controls in Windows 8 Metro is the ListView. The ListView does the same thing as the ListBox, plus more. In this post, I’ll build on the TwitterClient, from my previous post: Windows 8 Composition and Content. and show how to refactor the ListBox to a ListView. I’ll also mention a few of the differences between the two controls. Refactor ListBox to ListView To save you a little time, I’ll show you the XAML for the ListBox, from my previous post. Then I’ll follow up with changes ......
Composition is an integral part of Windows 8 UI design from both aesthetic and logical perspectives. This post modified my previous post, Refactoring Windows 8 Code-Behind to MVVM. adding to the variety of compositional examples. I’ll start with an explanation of composition in Windows 8, modify the previous code to show the power of composition, and then highlight a few more existing examples of where composition naturally fits into the Windows 8 UI environment. Understanding Windows 8 Composition ......
In my previous post, Using LINQ to Twitter in Windows 8 Metro Apps, I cheated a little (some might say a lot) on my UI architecture by using code-behind. In this post, I’ll make it all better by showing you how to separate the model and interaction logic from the UI design – proper separation of concerns. I’ll accomplish this with a pattern, named Model-View-ViewModel (MVVM), which is widely used for WPF, Silverlight, and (soon) Windows 8 Metro Apps. I’ll start by discussing what MVVM is, move to ......
Full LINQ to Twitter Archive