Skip to content

Enable Sidebar Live Tweets

QIUSHI BAI edited this page Aug 16, 2019 · 1 revision

Enable Sidebar Live Tweets

Prerequisites

Get your own Twitter API access tokens

please refer to https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens.html to get your own twitter developer access keys and tokens.

Step 1. Fill your Twitter API access tokens and enable live tweets

Edit conf file: examples/twittermap/web/conf/application.conf

  • Fill your Twitter API access tokens to the corresponding place
liveTweetConsumerKey = "Your Consumer Key"
liveTweetConsumerSecret = "Your Consumer Secret"
liveTweetToken = "Your Access token"
liveTweetTokenSecret = "Your Acces Secret Token"
  • Set the enableLiveTweet flag to be true
enableLiveTweet = true

Step 2. Restart Twittermap

sbt "project web" "run 9001"

Now you will see the live tweets on the sidebar!