title: Yammer REST API: How to get list of groups for external network?
body: <p>I've an application that need to get list of groups for external network of Yammer. Until last time it's worked so:</p>
  
  <ol>
  <li>/api/v1/oauth/tokens.json brought list of tokens\networks AND COOKIES: <strong>yamtrak_id</strong>=[id from yammer], <strong>_workfeed_session_id</strong>=[session id from yammer] during "Authorization Bearer [access_token]"</li>
  <li>The permalink <a href="https://www.yammer.com/name_of_my_network/api/v1/groups.json" rel="nofollow">https://www.yammer.com/name_of_my_network/api/v1/groups.json</a> with this cookies brought list of groups</li>
  </ol>
  
  <p>Now, when I've signed up with Yammer and took <strong>new access token</strong>, then /api/v1/oauth/tokens.json <strong>respond without this cookies</strong></p>
  
  <p>But when I've used <strong>old access token</strong>, that was created since two months, /api/v1/oauth/tokens.json ** brings an answer with this cookies**</p>
  
  <p>How to get list of groups without permalink or how to make "right" session that works with permalink?</p>