From 2de6826c5039b17e8decfb66f65b7cab851e2ebd Mon Sep 17 00:00:00 2001 From: Leah Oswald Date: Fri, 19 Jan 2024 19:59:42 +0100 Subject: [PATCH] Update 10_streaming.rst (auth needed) Since mastodon 4.2.0 the support for anonymous streaming API access was dropped. Change docs accordingly. --- docs/10_streaming.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/10_streaming.rst b/docs/10_streaming.rst index 7a7723b..a56d217 100644 --- a/docs/10_streaming.rst +++ b/docs/10_streaming.rst @@ -3,8 +3,8 @@ Streaming .. py:module:: mastodon .. py:class: Mastodon -These functions allow access to the streaming API. For the public, local and hashtag streams, -access is generally possible without authenticating. +These functions allow access to the streaming API. Since Mastodon v4.2.0 the support for anonymous streaming api access was dropped. +You need to generate an access token now. If `run_async` is False, these methods block forever (or until an error is encountered). @@ -72,4 +72,4 @@ StreamListener CallbackStreamListener ~~~~~~~~~~~~~~~~~~~~~~ -.. autoclass:: CallbackStreamListener \ No newline at end of file +.. autoclass:: CallbackStreamListener