Samples

This page contains sample applications that show different ways to use LINQ to Twitter.

Windows 8 Samples

File Description
Win8OAuthDemo.zip Perform OAuth with WinRtAuthorizer Demo
MetroSearchDemo.zip Search Demo
MetroTimelineDemo.zip Timeline Demo
MetroDirectMessageDemo.zip Direct Message Demo
MetroHelpDemo.zip Direct Message Demo
MetroAccountDemo.zip Account Demo
MetroBlocksDemo.zip Blocks Demo
MetroFavoritesDemo.zip Favorites Demo
MetroFriendshipDemo.zip Friendship Demo
MetroGeoDemo.zip Geo Demo
MetroListDemo.zip List Demo
MetroSavedSearchDemo.zip Saved Search Demo
MetroSocialGraphDemo.zip Social Graph Demo
MetroTrendsDemo.zip Trends Demo
MetroUserDemo.zip User Demo

Windows Phone 7 Samples

File Description
WP7TweetWithMediaDemo.zip OAuth and Tweet with Media Demo
WP7IsolatedStorageCredentialsDemo.zip Demonstrates how to persist credentials in isolated storage so that users only need to log in one time

ASP.NET MVC Samples

File Description
MvcOAuthDemo.zip MVC OAuth Demo
MVCBlocksDemo.zip MVC Blocks Demo
MVCAccountsDemo.zip MVC Accounts Demo
MVCDirectMessagesDemo.zip MVC Direct Messages Demo
MVCFavoritesDemo.zip MVC Favorites Demo
MVCFriendshipsDemo.zip MVC Friendships Demo
MVCGeoDemo.zip MVC Geo Demo
MVCHelpDemo.zip MVC Help Demo


ASP.NET WebForms Samples

File Description
WebFormsSearchDemo.zip Search Demo
WebFormsTimelineDemo.zip Status Timeline Demo
WebFormsDirectMessagesDemo.zip Direct Messages Demo
WebFormsHelpDemo.zip Help Demo
WebFormsReportSpamDemo.zip Report Spam Demo
WebFormsBlocksDemo.zip Block Demo
WebFormsAccountsDemo.zip Account Queries Demo
WebFormsFavoritesDemo.zip Favorites Demo
WebFormsFriendshipsDemo.zip FriendShips Demo
WebFormsRawQueryDemo.zip Raw Queries Demo
WebFormsGeoDemo.zip Geography Demo
WebFormsTrendsDemo.zip TrendsDemo
WebFormsUserDemo.zip User Demo
WebFormsOAuthDemo.zip OAuth Demo
WebFormsSavedSearchesDemo.zip Saved Search Demo
WebFormsListDemo.zip Lists Demo
WebFormsNotificationsDemo.zip Notifications Demo
WebFormsSocialGraphDemo.zip Social Graph Demo
WebFormsTweetsDemo.zip Tweets Demo

Console Samples

See Downloads.

Silverlight Samples

File Description
SilverlightSearchDemo.zip Perform a search query with Silverlight

WCF Samples

File Description
L2TWcfService.zip Shows how to perform a public status query via a WCF service

WPF Samples

File Description
WpfDisconnectedDemo.zip Handle exceptions when Internet connection is disconnected

Web Forms VB Demos

File Description
WebFormsVBOAuthDemo.zip Web Forms OAuth Demo in VB
WebFormsVBSearchDemo.zip Web Forms Search Demo in VB

Last edited Jan 19 at 8:57 PM by JoeMayo, version 84

Comments

Yashavantha Dec 26, 2012 at 3:11 AM 
hi i am getting an server is not authorised exception in metrooauthoriser ..i too want an example asked by @sid_ga234

sid_ga234 Dec 17, 2012 at 10:36 AM 
@JoeMayo: Please upload one example with TwitterWithMedia, with Window 8 Store Application, where an user can tweet the images with FilePicker from local resources.

JoeMayo Oct 28, 2012 at 1:30 AM 
arjun_g - I just uploaded a MetroWinRtAuthorizer sample.

alejo86 - I uploaded the MvcOAuthDemo again.

erikkl2000 - my pleasure.

erikkl2000 Sep 29, 2012 at 8:51 PM 
Thank you for developing this and making it publicly available.

alejo86 Sep 26, 2012 at 11:34 AM 
Hi Guys, I am looking for the MVC OAuth Demo but it's not available, can you upload the source code again?

Thanks, Alejo

arjun_g Sep 9, 2012 at 4:06 AM 
I would like to know is there any other way to authorize the user other than PinAuthorizer for Windows 8 apps. I want to directly pass the authentication token to application rather than providing a pin to user.

JoeMayo Sep 5, 2012 at 4:17 AM 
Daqing, I just posted one WPF sample showing how to handle exceptions when disconnected from the Internet.

Daqing Aug 24, 2012 at 8:35 PM 
I am looking forward to the WPF Samples, when will they come out? thanks. :)

AndreMayo Jul 11, 2012 at 4:05 PM 
ForestHills- We now have MVC Demos, feel free to check them out, and their are definitely more to come.

JoeMayo Jun 7, 2012 at 5:14 AM 
ForestHills - Soon. The next batch of samples will all be MVC. BTW, there's an old MVC demo that's part of the source code, which you can view or download via the Source Code tab on this site. Just replace the Public query (deprecated) with a Search query and it should work fine.

@JoeMayo

ForestHills Jun 6, 2012 at 11:44 PM 
When can I expect MVC sample added?