This project has moved and is read-only. For the latest updates, please go here.

How to retrieve the token

May 28, 2014 at 9:25 AM
Hello, (I'm beginner)

I try to use Linq2Twitter in a application Windows Phone 8.
I have do that :
async void MainPage_Loaded(object sender, RoutedEventArgs e)
    m_pinAuth = new PinAuthorizer
        CredentialStore = new InMemoryCredentialStore
            ConsumerKey = "My ConsumerKey",
            ConsumerSecret = "My ConsumerSecret",
        SupportsCompression = true,
        GoToTwitterAuthorization = pageLink =>
                                   Dispatcher.BeginInvoke(() =>
                                       this.WebBrowser.Navigate(new Uri(pageLink));
                                      ,ForceLogin = true
    await m_pinAuth.BeginAuthorizeAsync();
But how retrieve the user token after this ? I do use the WebBrowser_Navigated event ?
Or maybe is there a sample who explains this ?
Thanks very much
May 28, 2014 at 3:21 PM

There's a demo in the downloadable source code. Look for the project named Linq2TwitterDemos_WindowsPhone.

Marked as answer by tossnet on 5/28/2014 at 7:24 AM
May 28, 2014 at 3:23 PM
Sorry! I didn't download the sources!
Thank you very much for your work !