title: How to make Yammer REST API Call to get authenticated user's profile information?
body: <p>I am trying to call Yammer REST API for getting authenticated user's information using the following code:</p>
  
  <pre><code>$(document).ready(function() {
    $.ajax({
       method: "GET",
      url: "https://www.yammer.com/api/v1/users/current.json",
  
      contentType: "application/json; charset=utf-8",
      dataType: 'json',
      success: function(data) {
          if (data.Success) {
              alert(data);
          }
      },
      error: function(xhr2, status2) {
          alert(xhr2.status);
      }
  });
  });
  </code></pre>
  
  <p>However, it is always going to error method. Can anyone guide me to proceed on this piece?</p>