Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter 获取用户咨询失败 #17177

Closed
1 task done
fuwutx opened this issue Oct 17, 2024 · 1 comment
Closed
1 task done

Twitter 获取用户咨询失败 #17177

fuwutx opened this issue Oct 17, 2024 · 1 comment
Labels
RSS bug Something isn't working

Comments

@fuwutx
Copy link

fuwutx commented Oct 17, 2024

Routes

-

Full routes

-

Related documentation

What is expected?

What is actually happening?

正常的情况下
{
user_results: {
result: {
__typename: 'User',
id: 'VXNlcjo5OTkxMTY2NzY=',
rest_id: '999116676',
affiliates_highlighted_label: {},
has_graduated_access: true,
is_blue_verified: true,
profile_image_shape: 'Circle',
legacy: [Object],
professional: [Object],
tipjar_settings: {}
}
}
}
有限制时
{
__typename: 'TweetTombstone',
tombstone: {
__typename: 'TextTombstone',
text: {
rtl: false,
text: 'You’re unable to view this Post because this account owner limits who can view their Posts. Learn more',
entities: [Array]
}
}
}

Deployment information

Self-hosted

Deployment information (for self-hosted)

No response

Additional info

error: Error in /_v2/twitter/likes/fuwubx: TypeError: TypeError: Cannot read properties of undefined (reading 'user_result')
    at gatherLegacyFromData (d:\Workspace\_publish\RSSHub\lib\routes\_v2\twitter\web-api\utils.ts:304:66)
    at <anonymous> (d:\Workspace\_publish\RSSHub\lib\routes\_v2\twitter\web-api\api.ts:109:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.tryGet (d:\Workspace\_publish\RSSHub\lib\utils\cache\index.ts:92:27)
    at Object.handler (d:\Workspace\_publish\RSSHub\lib\routes\_v2\xlikes.ts:39:16)
    at wrappedHandler (d:\Workspace\_publish\RSSHub\lib\registry.ts:96:33)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\cache.ts:57:9)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\parameter.ts:65:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\anti-hotlink.ts:101:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\header.ts:26:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\template.tsx:15:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\debug.ts:16:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\access-control.ts:21:9)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\sentry.ts:18:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\trace.ts:17:9)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at middleware (d:\Workspace\_publish\RSSHub\lib\middleware\logger.ts:36:5)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)
    at async dispatch (file:///D:/Workspace/_publish/RSSHub/node_modules/hono/dist/compose.js:29:17)

This is not a duplicated issue

  • I have searched existing issues to ensure this bug has not already been reported
@fuwutx fuwutx added the RSS bug Something isn't working label Oct 17, 2024
Copy link
Contributor

Searching for maintainers:
  • -: Route not found

To maintainers: if you are not willing to be disturbed, list your username in scripts/workflow/test-issue/call-maintainer.js. In this way, your username will be wrapped in an inline code block when tagged so you will not be notified.

If all routes can not be found, the issue will be closed automatically. Please use NOROUTE for a route-irrelevant issue or leave a comment if it is a mistake.
如果所有路由都无法匹配,issue 将会被自动关闭。如果 issue 和路由无关,请使用 NOROUTE 关键词,或者留下评论。我们会重新审核。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant