title: Windows Phone Linq2Twitter - Getting an authorized user's screen name, id, and name?
body: <p>I'm a noob in LinQ and having troubles with Linq2Twitter and Twitter API in general. </p>
  
  <p>I cannot understand how to get an authorized user's screen name, id, and name after a successful authorization.</p>
  
  <p>I searched discussion threads online and the only advice I got from Joe was to use async call when querying for results. Except that I don't have the MaterializedAsyncCallback for some reason so I'm using AsyncCallback instead.</p>
  
  <p>Here are the steps that I take all the way from authorizing to attempting to obtain the user's info:</p>
  
  <ol>
  <li><p>Create a PinAuthorizer with my consumer key and secret as credentials</p>
  
  <pre><code>this.pinAuth = new PinAuthorizer
  {
      Credentials = new InMemoryCredentials
       {
           ConsumerKey = CONSUMER_KEY,
           ConsumerSecret = CONSUMER_SECRET
       },
       UseCompression = true,
       GoToTwitterAuthorization = pageLink =&gt;
       Dispatcher.BeginInvoke(() =&gt; {
           WebBrowser.Navigate(new Uri(pageLink + "&amp;force_login=true", UriKind.Absolute));
       })
   };
  </code></pre></li>
  <li><p>Authorize Begin</p>
  
  <pre><code>this.pinAuth.BeginAuthorize(resp =&gt; ...
  </code></pre></li>
  <li><p>Enter the pin and thus getting access token and secret in pinAuth.OAuthTwitter:</p>
  
  <pre><code>pinAuth.CompleteAuthorize(
      this.pin,
      completeResp =&gt; Dispatcher.BeginInvoke(() =&gt;
      { ...
  </code></pre></li>
  <li><p>Then, I try to get the user ... with an async call as that's what Joe Mayo recommended in other threads.</p>
  
  <pre><code>ITwitterAuthorizer auth = pinAuth;
  TwitterContext twitterCtx = new TwitterContext(pinAuth);
  (from user in twitterCtx.User
   where user.UserID != "JoeMayo"
   select user).AsyncCallback(asyncResponse =&gt; {
       var response = asyncResponse.ToList();
       User acc = response.FirstOrDefault();
   // Anything in this block is pointless
   // as I never get into this async callback block.
   // But this is where I expect to get the user's info
   // (screen name, name, id, etc.)
  });
  </code></pre></li>
  </ol>
  
  <p>I never get the async response.
  (I also do not have <code>MaterializedAsyncCallback</code>  for some reason).</p>
  
  <p>How do I get the authorized user's screen name, id, and name?</p>