Zomis / Duga

Stack Exchange Chat bot
18 stars 6 forks source link

Twitter integration #130

Open Zomis opened 8 years ago

Zomis commented 8 years ago

Add a duga-twitter module, which allows some Twitter integration. Remember to allow the possibility that it is completely turned off, also.

As for what to use this for, in the first step it would be to fetch some users tweets and post to chat (a stand-in for the broken Google Script thingy that created an RSS)

Secondly, well... I can imagine there's a whole bunch of more or less interesting things that Duga could actually tweet.

Zomis commented 8 years ago

See https://dev.twitter.com/streaming/overview/request-parameters#follow and http://www.idfromuser.com/

Zomis commented 8 years ago

Use http://twitter4j.org/en/index.html , See http://twitter4j.org/en/configuration.html for how to authorize. Also see https://dev.twitter.com/oauth/overview for authentication. Use the https://dev.twitter.com/oauth/overview/application-owner-access-tokens approach.