A small Go app to show user's tweets and find shared followers
Twitter API credentials (TODO: This might not be the right link ...)
Install the packages that this application relies on:
export GOPATH=<wherever you wish Go libs to reside>
go get gopkg.in/gin-gonic/gin.v1
go get github.com/ChimeraCoder/anaconda
Set the required environment variables with the credentials as supplied when you create a Twitter app account:
export TW_ACCESS_TOKEN_SECRET=<twitter secret access token>
export TW_ACCESS_TOKEN=<twitter access token>
export TW_CONSUMER_SECRET=<twitter secret consumer key>
export TW_CONSUMER_KEY=<twitter consumer key>
Use go run
to start the app:
go run tiltingatwindmils.go
The server runs on localhost port 8000, documentation is at: