title: How to get an access token using C# SDK
body: <p>I updated the Facebook SDK to 6.0.10 and some code that used to work is not working anymore. I used to post on users' wall use the method below.</p>
  
  <p>The class FacebookClient used to take the <code>AppId</code>, and <code>AppSecret</code> and I didn't gave it any access token for my application.</p>
  
  <pre><code>string uId = "SomeUid";
  FacebookClient fb = new FacebookClient(AppId,AppSecret );
  
  string userFeedPath = String.Format("/{0}/feed", uId);
  
  dynamic parameters = new ExpandoObject();
  parameters.link = "Test@test";
  parameters.message = "test";
  
  try
  {
      dynamic result = fb.Post(userFeedPath, parameters);
  }
  catch(Exception ex)
  {
  
  }
  </code></pre>
  
  <p>Now even if I try this,</p>
  
  <pre><code>FacebookClient fb = new FacebookClient();
  
  fb.AppId = "1234...";
  fb.AppSecret = "76e69e0c334995cecc8c....";
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <blockquote>
    <p>(OAuthException - #200) (#200) This API call requires a valid app_id.</p>
  </blockquote>
  
  <p>How do I fix this problem?</p>