Coder Social home page Coder Social logo

Twitter adapter about hubot HOT 10 CLOSED

hubotio avatar hubotio commented on May 9, 2024
Twitter adapter

from hubot.

Comments (10)

atmos avatar atmos commented on May 9, 2024

Sounds good. DMs would probably be ideal for most things unless you have some trust level between users on twitter and your bot.

from hubot.

ethnt avatar ethnt commented on May 9, 2024

Just to get an idea of the workflow for the end user:

  • Get running, whether it's locally or on Heroku (or something similar).
  • You are presented with the Twitter login page. Once logged in, you get a out-of-band PIN code.
  • Give Hubot the PIN code.

I may be misunderstanding how Hubot or Twitter's authentication works, but this seems the way to go.

from hubot.

jonrohan avatar jonrohan commented on May 9, 2024

I was thinking that the bot would listen to it's followers only for @ mentions. And also DMs

from hubot.

ethnt avatar ethnt commented on May 9, 2024

Yeah, it also needs to follow the people that follow it in order to receive DMs from them.

from hubot.

atmos avatar atmos commented on May 9, 2024

Looking at twitter it seems that @MathildeLemee already has one working. Maybe she can share the code.

from hubot.

ethnt avatar ethnt commented on May 9, 2024

Well that was fast. It doesn't look like she's committed the changes to her repo yet, though.

from hubot.

MathildeLemee avatar MathildeLemee commented on May 9, 2024

I m working on it , i will commit asap :)

from hubot.

jonrohan avatar jonrohan commented on May 9, 2024

👍 Yea, I meant to say, The bot listens to everyone that that bot follows just like the chat room, and when one of those user tweets @hubot mustache @atmos the bot responds

from hubot.

carllerche avatar carllerche commented on May 9, 2024

It seems that the twitter streaming API supports getting updates for @mentions as well as direct messages. It seems that a twitter adapter could work in fairly decent real time.

from hubot.

atmos avatar atmos commented on May 9, 2024

Closing this issue out, open a pull request when it arrives.

from hubot.

Related Issues (20)

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.