node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

yammer-js

yammer-js

Simple Yammer API client for express + connect.

npm install yammer-js

Usage

yammer-js has three methods:

  • getRquestToken(req, res, callback): Uses oAuth module to get the request token
  • getAccessToken(req, res, callback): Uses oAuth module to get the access token
  • apiCall(http_method, path, params, callback): Does a call to the Yammer API.

Params must contain the token.

Test

Enter your consumer key and secret in example/test.js

cd test
node test.js

open http://localhost:8553