Skip to content

xdevplatform/spaces-reach

Repository files navigation

Spaces Reach 🟣🚀

Spaces Reach is a template app to show you how to get started with the Spaces endpoints to create experiences to measure the performance of your Spaces.

This app uses the new Spaces endpoints to get details about a Space, such as title and participants. It periodically checks the status of the Space to compute its duration, and to plot a chart of how many people are listening and speaking over time.

How to make this code work for you

Before you start, make sure you have an active Twitter developer account.

As with all v2 endpoints, you will need to add an active app to any of your available Projects. For more details, read our documentation.

You will need to configure some environment variables with your credentials. To do so, copy .env.template and rename it to .env, then fill the values in the file.

This app uses a Redis instance for caching purposes, but you can change the code and use any other service (or no service at all).

About

A template app to show you how to get started with the Twitter Spaces API endpoints

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks