[twitter] add 'tweet-endpoint' option (#4307)

use the newer TweetResultByRestId only for guests by default
This commit is contained in:
Mike Fährmann
2023-07-18 17:19:32 +02:00
parent 20ed647f6f
commit 90231f2d5a
2 changed files with 37 additions and 2 deletions

View File

@@ -3138,6 +3138,20 @@ Description
Transform Tweet and User metadata into a simpler, uniform format.
extractor.twitter.tweet-endpoint
--------------------------------
Type
``string``
Default
``"auto"``
Description
Selects the API endpoint used to retrieve single Tweets.
* ``"restid"``: ``/TweetResultByRestId`` - accessible to guest users
* ``"detail"``: ``/TweetDetail`` - more stable
* ``"auto"``: ``"detail"`` when logged in, ``"restid"`` otherwise
extractor.twitter.size
----------------------
Type