question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Twitch API

See original GitHub issue

The currently used (depreceated) v5 API returns an error with new client IDs.

{ "error": "Not Found", "status": 404, "message": "The v5 API is deprecated and will be shutdown on February 28, 2022. Applications that have not accessed v5 before July 15, 2021 no longer have access to v5. For more information on the v5 API shutdown plan, see https://blog.twitch.tv/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline/ and the Twitch API documentation at https://dev.twitch.tv/docs/api." }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:15
  • Comments:42 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
doteqcommented, Aug 9, 2021

Unfortunately, this can’t be fixed right now. Even Twitch website uses deprecated v5 “API” for chat replays, “helix” API does not have comments endpoint, yet.

11reactions
JAK0723commented, Mar 3, 2022

@vanyamlb I’ll describe the steps I did and you can try following them.

  • Uninstall Twitch-Python and Twitch-Chat-Downloader
pip uninstall twitch-python tcd
  • Download the repositories for Twitch-Python and Twitch-Chat-Downloader
git clone https://github.com/PetterKraabol/Twitch-Python.git
git clone https://github.com/PetterKraabol/Twitch-Chat-Downloader.git
  • Create a file in the Twitch-Python directory that contains what @m4eba shared in #132 , this is a patch file. Use whatever text editor you prefer, I named the file m4eba-fix.patch
  • Ensure your terminal is in the Twitch-Python directory, if you’re in the directory that contains Twitch-Python then you can use cd Twitch-Python to move into it
  • Apply @m4eba’s patch file
git apply m4eba-fix.patch
  • Ensure that your terminal is in the parent directory that contains Twitch-Python and Twitch-Chat-Downloader, if you were in Twitch-Python then you can move to the parent directory with cd ../
  • Install the local repositories with pip
pip install -e Twitch-Python
pip install -e Twitch-Chat-Downloader

I reinstalled both Twitch-Python and Twitch-Chat-Downloader as local copies, though it’s probably not necessary to reinstall Twitch-Chat-Downloader as @m4eba’s fix only changes Twitch-Python.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support - Twitch Developers
Documentation. Get comprehensive information, guidelines, and support on all Twitch Developer products. View Docs ; Developer Forums. Ask our community for help.
Read more >
Twitch API - Twitch Developers
The Twitch API provides the tools and data used to develop Twitch integrations. The data models and systems are designed to provide relevant...
Read more >
Twitch Developer Documentation
Ask questions on the Twitch Developer Forums. · Chat with the community on Discord. · Provide feedback suggestions on UserVoice. · File issues...
Read more >
Twitch API Reference - Twitch Developers
Resource Endpoint Description Ads Start Commercial Starts a commercial on the specified channel. Analytics Get Game Analytics Gets an analytics report for one or more...
Read more >
Twitch API Concepts - Twitch Developers
The Twitch API supports cursor-based pagination for APIs that return lists of resources. List APIs like Get Videos use the following query parameters...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found