Skip to content

Commit

Permalink
Merge pull request #670 from DIYgod/master
Browse files Browse the repository at this point in the history
[pull] master from diygod:master
  • Loading branch information
pull[bot] authored Dec 12, 2024
2 parents db84a9e + 6deb2f5 commit fc6b4ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions 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'];
const thirdPartySupportedAPI = ['UserByScreenName', 'UserByRestId', 'UserTweets', 'UserTweetsAndReplies', 'ListLatestTweetsTimeline'];

const gqlFeatureUser = {
hidden_profile_subscriptions_enabled: true,
Expand Down
4 changes: 4 additions & 0 deletions lib/routes/twitter/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fc6b4ea

Please sign in to comment.