# New Platform Additions

1. **Have enough of a following to be worth adding the integration.**
2. **Access to platform's API**
3. **OAuth2 with scopes (Stream Login & Bot Login)**
4. **Check Bearer-token user-id and user-displayName**
5. **Chat-read / Chat-write (preferably web-sockets)** \
   **(needs to be able to write-to-chat from bot OAuth-bearer into the channel of the Streamer)**
6. A way to check if the user is following or subscribing to the channel. (Ideally this information is passed along with Chat-read messages (bonus: with other events as well).
7. OnUserFollow event (optional - preferably web-sockets)
8. OnUserSubscribe event (optional - preferably web-sockets)
9. PlatformCurrency event (optional - example: twitch-bits)
10. Platform Loyalty Points Custom Redemption (optional)

## Platforms that have failed these requirements

* Tiktok Live (the API is restricted to only users with over 1000 or so followers, so I cannot attempt trying to add integration)
* Picarto (the developers of this platform do not seem to prioritize api/integrations. They take several months to years to respond to emails. This platform failed at chat-write requirements. Their chat-bot system is cumbersome and poorly made)&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.streamavatars.com/stream-avatars/support/new-platform-additions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
