feat(route/twitter): support third-party twitter keywords api

This commit is contained in:
pseudoyu
2024-12-17 00:37:29 +08:00
parent 07c1e88368
commit fcd4b8f8f6
+1 -1
View File
@@ -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', 'ListLatestTweetsTimeline'];
const thirdPartySupportedAPI = ['UserByScreenName', 'UserByRestId', 'UserTweets', 'UserTweetsAndReplies', 'ListLatestTweetsTimeline', 'SearchTimeline'];
const gqlFeatureUser = {
hidden_profile_subscriptions_enabled: true,