title: Authenticate to Yammer in c# console application
body: <p>I am using the NuGet Yammer API and I am trying to simply authenticate and display the token as a test.</p>
  
  <p>Unfortunately I can't seem to get it working. I am new to this but there is no documentation on the NuGet Yammer API and it will be a console application. All the examples and documentation on the Yammer developers page show doing this from a web based appication.</p>
  
  <p>My code so far:</p>
  
  <pre><code>static void Main(string[] args)
  {
      var myConfig = new ClientConfigurationContainer
      {
  
          ClientCode = null,
          ClientId = "CODEHERE",
          ClientSecret = "CODEHERE"
      };
      var myYammer = new YammerClient(myConfig);
      var test = myYammer.GetToken();
      Console.WriteLine("Token" + test);
      Console.ReadLine();
  }
  </code></pre>