/TweetAnalytics

This application gathers the following statistics from Twitter's sample realtime API

Primary LanguageC#

TweetAnalytics

This application gathers the following statistics from Twitter's sample realtime API

Configuration

Twitter Credentials

appsettings.json should be edited to include your Twitter API credentials.

"twitter": {
    "consumerKey": "",
    "consumerKeySecret": "",
    "accessToken": "",
    "accessTokenSecret": ""
}

Photo domains

By default, this application recognizes pic.twitter.com, pbs.twimg.com, www.instagram.com as image domains. This is editable through the appsettings as well.

Prerequisites

Running the project

dotnet run TweetAnalytics.csproj

Once the project is running, the local API should be available at the route https://localhost:5001/tweet-analytics/stats.json

Running the tests

dotnet test