fix: update stale Followers/Following queryIds and retry on 422
Twitter now returns HTTP 422 GRAPHQL_VALIDATION_FAILED (not just 404) when a queryId goes stale. Updated fallback IDs and added 422 to the stale-queryId retry logic in both _graphql_get and _graphql_post.
This commit is contained in:
@@ -33,8 +33,8 @@ FALLBACK_QUERY_IDS = {
|
||||
"SearchTimeline": "MJpyQGqgklrVl_0X9gNy3A",
|
||||
"Bookmarks": "uzboyXSHSJrR-mGJqep0TQ",
|
||||
"ListLatestTweetsTimeline": "ZBbXrl0FVnTqp7K6EAADog",
|
||||
"Followers": "t-BPOrMIduGUJWO_LxcvNQ",
|
||||
"Following": "iSicc7LrzWGBgDPL0tM_TQ",
|
||||
"Followers": "IOh4aS6UdGWGJUYTqliQ7Q",
|
||||
"Following": "zx6e-TLzRkeDO_a7p4b3JQ",
|
||||
"CreateTweet": "bDE2rBtZb3uyrczSZ_pI9g",
|
||||
"DeleteTweet": "VaenaVgh5q5ih7kvyVjgtg",
|
||||
"FavoriteTweet": "lI07N6Otwv1PhnEgXILM7A",
|
||||
|
||||
Reference in New Issue
Block a user