Skip to content

tjcunliffe/twitter-app

Repository files navigation

Twitter Client demo for Mirage

This is an example client application implementation for service virtualization tool Mirage. It can either call Twitter API directly and by calling Mirage Twitter Proxy (which provides recording and playback functionality). It expects to find proxy on port 8300 (localhost).

Installation

  • glide.yaml file holds all required dependencies. You can use glide to initialize your environment (glide install)
  • build a binary file (go build).
  • Register your application in Twitter to get key and secret.
  • Rename conf.json.example to conf.json and provide your previously acquired key and secret.
  • Run application (./twitter-app

Configuration

To override default proxy location (localhost:8300) you can supply additional flag during startup: ./twitter-app -proxy-address="http://somehost:8300"

To override default port (8080): ./twitter-app -port=":8888"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published