Error when trying to read Feed using Python

Hi there I am using this module here https://python-twitch-client.readthedocs.io/en/latest/index.html
to try and read my feed, but I get the following error.

HTTPError: 410 Client Error: Gone for url: https://api.twitch.tv/kraken/feed/12345678910/posts?limit=10&comments=5

This is the code I’m currently trying to run:

from twitch import TwitchClient
client = TwitchClient(client_id=‘ID’, oauth_token=‘TOKEN’)

channel = client.channels.get()

posts = client.channel_feed.get_posts(channel)
print(posts)

I’m using the scopes: ‘channel_read’ and ‘channel_feed_read’

Any idea how to fix this or how I can read my feed instead?

Channel Feed was removed in July 2018, as stated in this blog post: https://help.twitch.tv/s/article/removing-channel-feed-and-pulse

Twitch fully removed the endpoints from documentation on 06/07/2019: Removed deprecated Channel Feed API Reference.

So there is no ‘fix’, because you’re attempting to use something which doesn’t even exist any more, and hasn’t for quite a while.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.