Commit Graph

25 Commits

Author SHA1 Message Date
Zed 624394430c Use legacy timeline/user endpoint for Tweets tab 2023-08-08 02:09:56 +02:00
Zed 50f821dbd8 Use search instead of old timeline endpoint 2023-07-22 03:22:13 +02:00
Zed cc5841df30 Use old timeline endpoint 2023-07-21 18:56:39 +02:00
Zed 67203a431d Add back search 2023-07-12 03:37:44 +02:00
Zed 0bc3c153d9
Fix everything (#927)
* Switch bearer token and endpoints, update parser

* Enable user search, disable tweet search

* Disable multi-user timelines for now

* Fix parsing of pinned tombstone
2023-07-10 11:25:34 +02:00
Zed e3b3b38a2d Add proper tombstone for subscriber tweets 2023-05-20 02:10:37 +02:00
Zed 1ac389e7c7
GraphQL timeline (#812)
* Update deps

* Replace profile timeline with GraphQL endpoint

* Update GraphQL endpoint versions

* Use GraphQL for profile media tab

* Fix UserByRestId request

* Improve routing, fixes #814

* Fix token pool JSON

* Deduplicate GraphQL timeline endpoints

* Update list endpoints

* Use GraphQL for list tweets

* Remove debug leftover

* Replace old pinned tweet endpoint with GraphQL

* Validate tweet ID

* Minor token handling fix

* Hide US-only commerce cards

* Update config example

* Remove http pool and gzip from token pool

* Support tombstoned tweets in threads

* Retry GraphQL timeout errors

* Remove unnecessary 401 retry

* Remove broken timeout retry

* Update karax, use new bool attribute feature

* Update card test

* Fix odd edgecase with broken retweets

* Replace search endpoints, switch Bearer token

* Only parse user search if it's a list

* Fix quoted tweet crash

* Fix empty search query handling

* Fix invalid user search errors again
2023-04-21 14:41:30 +02:00
HookedBehemoth 3a5faded86 parse recently added long tweets 2023-03-01 00:54:10 +01:00
Zed 670a3bca6e Revert "Revert "Replace tweet endpoint with GraphQL""
This reverts commit 36c72f9860.
2023-02-24 01:01:22 +01:00
Zed 36c72f9860 Revert "Replace tweet endpoint with GraphQL"
This reverts commit 19adc658c3.
2023-02-02 12:38:58 +01:00
Zed 19adc658c3 Replace tweet endpoint with GraphQL 2023-02-02 12:31:49 +01:00
Zed ff61d97a1d Optimize profile fetching and caching 2023-01-20 04:55:42 +01:00
Zed 27183f1a74 Use faster API to get pinned tweets 2022-01-23 07:45:01 +01:00
Zed 51ae076ea0 Rearchitect profile, support pins, Profile -> User 2022-01-23 07:23:09 +01:00
Zed e0b141daf9 Small optimization for photo rail request size 2022-01-17 03:21:38 +01:00
Zed dd71e60f35 Track token rate limits per endpoint 2022-01-05 22:48:45 +01:00
Zed d726894555 Remove unused profile API 2022-01-05 22:17:14 +01:00
Zed 73b5b60ac3 Add license headers
Closes #413
2021-12-27 02:37:38 +01:00
Zed 2128b280b4 Minor cleanup 2021-01-07 22:04:19 +01:00
Zed 613e460b9e Add activate endpoint 2020-06-24 15:03:18 +02:00
Zed 91f42c4c94 Nevermind. 2020-06-17 20:55:01 +02:00
Zed 0e58c36bae Change user endpoint 2020-06-17 00:22:11 +02:00
Zed 77da2e32c6 Use old api to optimize photo rails 2020-06-17 00:20:34 +02:00
Zed 74534e8fef Use old user endpoint to avoid graphql rate limits 2020-06-02 18:05:54 +02:00
Zed 762d00b21d In with the new 2020-06-02 18:05:54 +02:00