feat(route/twitter): support twitter list third-party api
This commit is contained in:
@@ -15,7 +15,7 @@ const graphQLEndpointsPlain = [
|
||||
|
||||
const gqlMap = Object.fromEntries(graphQLEndpointsPlain.map((endpoint) => [endpoint.split('/')[3].replace(/V2$|Query$|QueryV2$/, ''), endpoint]));
|
||||
|
||||
const thirdPartySupportedAPI = ['UserByScreenName', 'UserByRestId', 'UserTweets', 'UserTweetsAndReplies'];
|
||||
const thirdPartySupportedAPI = ['UserByScreenName', 'UserByRestId', 'UserTweets', 'UserTweetsAndReplies', 'ListLatestTweetsTimeline'];
|
||||
|
||||
const gqlFeatureUser = {
|
||||
hidden_profile_subscriptions_enabled: true,
|
||||
|
||||
@@ -13,6 +13,10 @@ export const route: Route = {
|
||||
name: 'TWITTER_AUTH_TOKEN',
|
||||
description: 'Please see above for details.',
|
||||
},
|
||||
{
|
||||
name: 'TWITTER_THIRD_PARTY_API',
|
||||
description: 'Please see above for details.',
|
||||
},
|
||||
],
|
||||
requirePuppeteer: false,
|
||||
antiCrawler: false,
|
||||
|
||||
Reference in New Issue
Block a user