Skip to content

athieriot/hubot-yammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubot Yammer Adapter

Build Status

Description

This is the Yammer adapter for Hubot that allows communication in Yammer public groups.

Installation

  • Install dependencies with npm install
  • Set environment variables (below)
  • Run hubot with bin/hubot -a yammer -n name

Yammer account and token

  • Create a new account for your bot in your Yammer domain
  • Sign in as the new user
  • Register an API application at https://www.yammer.com/client_applications
  • Take note of the token you're given (copy it to HUBOT_YAMMER_ACCESS_TOKEN)
  • Currently you also need to create at least one public group for your bot

Usage

You will need to set environment variables to use this adapter:

Heroku

% heroku config:add HUBOT_YAMMER_ACCESS_TOKEN="access_token"
% heroku config:add HUBOT_YAMMER_GROUPS="groups list"

You will also need to change the process type from `app` to `web` in the `Procfile`.

Non-Heroku environment variables

% export HUBOT_YAMMER_ACCESS_TOKEN="access_token"
% export HUBOT_YAMMER_GROUPS="groups list"

Contribute

Just send a pull request if needed or file an issue!

Copyright

Copyright © Aurélien Thieriot. See LICENSE for details.

Thanks

Mikeal for his great and simple libraries node-yammer

Mathilde Lemee from wich I shamefully fork the code of hubot-twitter

Bitdeli Badge

About

This is the Yammer adapter for hubot that allows you to send a message to him with Yammer and he will happily reply the same way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published