Skip to content

Instantly share code, notes, and snippets.

@extratone
Last active January 26, 2023 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extratone/77814653d69e62b9ed386f13fbfead24 to your computer and use it in GitHub Desktop.
Save extratone/77814653d69e62b9ed386f13fbfead24 to your computer and use it in GitHub Desktop.
Twitch for iOS' URL scheme.
**Task** **Command**
Launch Application `twitch://open`
Navigate to a specific channel `twitch://stream/<channel name>` – OR – `twitch://open?stream=<channel name>`
Open a specific game directory `twitch://game/<game name>` – OR – `twitch://open?game=<game name>`
Open a specific VOD `twitch://video/<video ID>` – OR – `twitch://open?video=<video ID>` For a VOD with this URL: `twitch.tv/some_channel/v/1234567` the `<video_id>` is v1234567.
Open a specific channel activity feed (includes VODs) `twitch://channel/<channel name>` – OR – `twitch://open?channel=<channel name>`
Open the user’s “following” directory (first tab in the app) `twitch://following` If the user is not logged in, this goes to the login page
Open the login page `twitch://login`
View a specific Category tag `twitch://directory/tags/<tag ID>`
Open a specific live-stream tag `twitch://directory/all/tags/<tag ID>`
Broadcast a specific game `twitch://broadcast?game_id=<game ID>`
<table>
<thead>
<tr>
<th>**Task**</th>
<th>**Command**</th>
</tr>
</thead>
<tbody>
<tr>
<td>Launch Application</td>
<td>`twitch://open`</td>
</tr>
<tr>
<td>Navigate to a specific channel</td>
<td>`twitch://stream/<channel name>` – OR – `twitch://open?stream=<channel name>`</td>
</tr>
<tr>
<td>Open a specific game directory</td>
<td>`twitch://game/<game name>` – OR – `twitch://open?game=<game name>`</td>
</tr>
<tr>
<td>Open a specific VOD</td>
<td>`twitch://video/<video ID>` – OR – `twitch://open?video=<video ID>` For a VOD with this URL: `twitch.tv/some_channel/v/1234567` the `<video_id>` is v1234567.</td>
</tr>
<tr>
<td>Open a specific channel activity feed (includes VODs)</td>
<td>`twitch://channel/<channel name>` – OR – `twitch://open?channel=<channel name>`</td>
</tr>
<tr>
<td>Open the user’s “following” directory (first tab in the app)</td>
<td>`twitch://following` If the user is not logged in, this goes to the login page</td>
</tr>
<tr>
<td>Open the login page</td>
<td>`twitch://login`</td>
</tr>
<tr>
<td>View a specific Category tag</td>
<td>`twitch://directory/tags/<tag ID>`</td>
</tr>
<tr>
<td>Open a specific live-stream tag</td>
<td>`twitch://directory/all/tags/<tag ID>`</td>
</tr>
<tr>
<td>Broadcast a specific game</td>
<td>`twitch://broadcast?game_id=<game ID>`</td>
</tr>
</tbody>
</table>
Task Command
Launch Application twitch://open
Navigate to a specific channel twitch://stream/<channel name> – OR – twitch://open?stream=<channel name>
Open a specific game directory twitch://game/<game name> – OR – twitch://open?game=<game name>
Open a specific VOD twitch://video/<video ID> – OR – twitch://open?video=<video ID> For a VOD with this URL: twitch.tv/some_channel/v/1234567 the <video_id> is v1234567.
Open a specific channel activity feed (includes VODs) twitch://channel/<channel name> – OR – twitch://open?channel=<channel name>
Open the user’s “following” directory (first tab in the app) twitch://following If the user is not logged in, this goes to the login page
Open the login page twitch://login
View a specific Category tag twitch://directory/tags/<tag ID>
Open a specific live-stream tag twitch://directory/all/tags/<tag ID>
Broadcast a specific game twitch://broadcast?game_id=<game ID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment