Support

Submit a ticket My Tickets Login
Welcome
Login

How to Refresh a Customer-Hosted Yammer Token


  1. Log in to Yammer using your tyGraph Verified Admin service account.
  2. Switch the UI to disable the "New Yammer" experience for now.
  3. Navigate to the Yammer Client Applications UI.
  4. Find your tyGraph App and click on it.
  5. Copy the Client ID and Client Secret from this page for use during the token refresh.
  6. Open a new browser tab and navigate to the following URL (after replacing the appropriate section with the Client ID you have just recorded).
    • https://www.yammer.com/dialog/oauth?redirect_uri=https://www.yammer.com&client_id=CLIENTID

  7. If a consent page appears, click the "Allow" button. Otherwise, skip to the next step.
  8. You will be redirected back to the Yammer home page. Your browser's URL bar will now have a "code" value. Copy this value down for use in the next step.
  9. Open a new browser tab and navigate to the following URL (after replacing the appropriate sections with the Yammer Client ID, Client Secret, and the Code value that was just retrieved).
    • https://www.yammer.com/oauth2/access_token.json?client_id=CLIENTID&client_secret=CLIENTSECRET&code=CODE

  10. The browser window will open a JSON file containing information about your Yammer network. Copy down the "token" value to use in configuration. 
  11. Open the Admin Console folder in your tyGraph Deployment package.
  12. Locate the tyGraph365.AdminClientWinform Application file and run it (run as an administrator if possible).
  13. Enter your SQL connection details in the "Connect to tyGraph" section and click "Go".
  14. Expand the "Configuration" section and click the "Yammer Network" section.
  15. Paste in the "token" value that you copied earlier, and click the "Test" button.
  16. Once you have tested the configuration, click the "Apply" button. 
  17. If instructed by the tyGraph team to perform a revival, proceed with the next steps.
  18. Expand the "Manage Harvester" section and click on the "Trigger or Revive Harvester" section.
  19. Switch the Start Mode dropdown to "Allow Unsafe Revival", check the "Unsuspend harvesting if needed" box, and then click the "Trigger Harvester" button.