Skip to content

An example app showing how to use the Hide Replies API to keep conversations on topic.

License

Notifications You must be signed in to change notification settings

xdevplatform/sports-coach

Repository files navigation

Hide Replies Sports coach

Keep your conversation on topic in one single step!

What is it?

Twitter users sometimes want to keep their conversations focused on the main topic they are discussing. The Hide Replies feature in Twitter API v2 enables you to build an app to help Twitter users have better control over the topics discussed in a conversation.

How does it work?

The flow of this app is straightfoward:

  1. The app asks the user to provide a Twitter link to one of their recent conversations.
  2. The app uses Recent search to retrieve the entire conversation, including its replies. The app requests the Tweet annotations for each reply.
  3. Each reply's annotation is compared against any of the Sports Tweet annotations domains.
  4. If a reply doesn't match any of the known Sports domains, the app shows a prompt to hide it using Hide replies

Can I clone this project?

Yes! Remix this project to see the code and change it to your liking.

In order to make the app work for you, you will need to get access to the Twitter API. It's fast, immediate, and free.

About

An example app showing how to use the Hide Replies API to keep conversations on topic.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks