gpt4 book ai didi

meteor - Twitter 和 Meteor 的问题

转载 作者:行者123 更新时间:2023-12-04 14:01:18 26 4
gpt4 key购买 nike

我在使用 Meteor(版本 0.6.6.3)并单击 Twitter 的登录按钮时出现以下错误。

I2038-06:13:28.670(-8)? Exception while invoking method 'login' Error: Failed to send OAuth1 request to https://api.twitter.com/oauth/request_token. failed [401] Failed to validate oauth signature and token
I2038-06:13:28.673(-8)? at OAuth1Binding._call (packages/oauth1/oauth1_binding.js:143)
I2038-06:13:28.674(-8)? at OAuth1Binding.prepareRequestToken (packages/oauth1/oauth1_binding.js:27)
I2038-06:13:28.675(-8)? at Oauth._requestHandlers.(anonymous function) (packages/oauth1/oauth1_server.js:21)
I2038-06:13:28.676(-8)? at middleware (packages/oauth/oauth_server.js:105)
I2038-06:13:28.677(-8)? at packages/oauth/oauth_server.js:78

有人对如何解决这个问题有想法吗?

谢谢

最佳答案

由于手动删除和插入 loginServiceConfiguration 不正确,我遇到了同样的问题。如果您没有使用配置工具,请确保您插入的是 consumerKey而不是 clientId .

Accounts.loginServiceConfiguration.remove({
service: "twitter"
});

Accounts.loginServiceConfiguration.insert({
service: "twitter",
consumerKey: "...",
secret: "..."
});

关于meteor - Twitter 和 Meteor 的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19990839/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com