A clojure utility that fetches tweets, analyzes them using Vader and inserts the data into sqlite databases.
Register your twitter application as described here.
Make sure Leiningen is installed.
Then just:
lein uberjar
see below how to execute the utility using the produced jar.
Create a profiles.clj
file:
cp profiles.clj.example profiles.clj
and set your twitter app key and secret this file.
Run
lein run clojurescript,thewitcher
If you don't want to build and/or install Leiningen, just grab a prebuilt jar from releases.
java -DTWITTER_APP_KEY=xxx -DTWITTER_APP_SECRET=xxx -jar target/jsa-0.X-X-standalone.jar clojurescript,thewitcher
The produced data will be stored in sqlite databases - each hashtag will get its own database - put
in a db
folder.
Copyright © 2019 Kostas Georgiadis
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.