CryptoTweets icon indicating copy to clipboard operation
CryptoTweets copied to clipboard

Sample app displaying cryptocurrency-related tweets. 📰🥇

CryptoTweets

Sample app displaying cryptocurrency related tweets.

CryptoTweets gif image

Setup

Authentication

  1. Signup for Twitter developer account.

  2. Create a Bearer Token for the Android app.

  3. Insert the token as a request header in Retrofit.

    A. Create Auth.kt file in the path: CryptoTweets > app > src > main > java > app > cryptotweets.

    B. Key: Authorization

    C. Value format: Bearer {INSERT_YOUR_TOKEN}

    D. Add Auth.kt to the gitignore file(s).

Sample urls

  • @GET Twitter list request: https://api.twitter.com/1.1/lists/statuses.json?list_id=1173707664863350785&count=10&page=1
  • Tweet url: https://twitter.com/VitalikButerin/status/1247607628668309507

Libraries used