Giter Club home page Giter Club logo

hubot-twitter's Introduction

Hubot Twitter Adapter

Description

This is the Twitter adapter for hubot that allows you to send an tweet to your Hubot and he will send an tweet back with the response.

Installation

  • Add hubot-twitter as a dependency in your hubot's package.json
  • Install dependencies with npm install
  • Run hubot with bin/hubot -a twitter -n the_name_of_the_twitter_bot_account

Note if running on Heroku

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

Usage

You will need to set some environment variables to use this adapter.

Heroku

heroku config:add HUBOT_TWITTER_KEY="key" HUBOT_TWITTER_SECRET="secret" HUBOT_TWITTER_TOKEN="token" HUBOT_TWITTER_TOKEN_SECRET="secret"

Non-Heroku environment variables

export HUBOT_TWITTER_KEY="key" export HUBOT_TWITTER_SECRET="secret" export HUBOT_TWITTER_TOKEN="token" export HUBOT_TWITTER_TOKEN_SECRET="secret"

Then you will need to set the HTTP endpoint on Twilio to point to your server and make sure the request type is set to GET.

Contribute

Just send pull request if needed or fill an issue !

Copyright

Copyright © Mathilde Lemee. See LICENSE for details.

hubot-twitter's People

Contributors

owenthereal avatar mathildelemee avatar

Stargazers

Aurélien Thieriot avatar

Watchers

Aurélien Thieriot avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.