Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

danmidwood/clojure-questions

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

clojure-questions

This is a tiny little twitter bot that uses the StackOverflow API to tweet new stackoverflow questions that are tagged with 'clojure'.

The bot is running under the name @ClojureQs.

Usage

Because of how insane oauth is, if you want to run this bot you'll need to obtain about 50 thousand different access tokens, keys, blah, etc. The easiest way to do it is to create a new twitter account specifically for the bot, then register a new application for the bot, and then generate user tokens for that application. That'll give you everything you need.

Bitly also requires an access token. If you're just playing with this then it's easier to no-op the shorten function instead.

For development you can use environ to manage the tokens, drop all of these keys into your leiningen profile (~/.lein/profiles.clj). It should look like this:

{:user
 {:env {:clojureqs-app-consumer-key ""
        :clojureqs-app-consumer-secret ""
        :clojureqs-user-access-token ""
        :clojureqs-user-access-token-secret ""
        :bitly-access-token ""}}}

License

Copyright © 2012, 2014 Anthony Grimes, Dan Midwood

Distributed under the Eclipse Public License, the same as Clojure.

About

A twitter bot that tweets new stackoverflow questions tagged with clojure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published