How to retrieve the token

May 28, 2014 at 8: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
Coordinator
May 28, 2014 at 2:21 PM
Hi,

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

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