Skip to content

Commit

Permalink
feat(route/twitter): support third-party twitter keywords api
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Dec 16, 2024
1 parent 07c1e88 commit fcd4b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/twitter/api/web-api/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fcd4b8f

Please sign in to comment.