使用新发布的 API 登录 Yahoo Messenger

发布于 2024-09-11 08:14:15 字数 808 浏览 1 评论 0原文

我正在尝试使用新发布的 Messenger api 登录 yahoo Messenger。我参考了 http:// /developer.yahoo.com/messenger/guide/ch05s03.html 。我注册了 API 并获得了消费者密钥和消费者秘密。我的 yahoo id 是 [电子邮件受保护](不是真实的,只是为了举例)。要登录,我点击以下网址浏览器:

https://login.yahoo.com/WSLogin/V1/get_auth_token?login=bob.m&passwd=<my_password>&oauth_consumer_key=<my_oauth_consumer_key>

我在浏览器中得到以下响应:

Error=MissingParameters
ErrorDescription=Sorry, try again with all the required parameters.

我什至尝试使用传递上述参数的 jquery 对代码中的 url 进行 $.getJSON 调用,但这也不起作用。 有办法解决这个问题吗?

请帮忙。 谢谢。

Im trying to login to yahoo messenger using the newly released messenger api.I referred to http://developer.yahoo.com/messenger/guide/ch05s03.html .I signed up for the API and have got a Consumer Key and a Consumer Secret.My yahoo id is [email protected](not the real one,just for the sake of example).To login i hit the following url from the browser:

https://login.yahoo.com/WSLogin/V1/get_auth_token?login=bob.m&passwd=<my_password>&oauth_consumer_key=<my_oauth_consumer_key>

I get the following response in the browser:

Error=MissingParameters
ErrorDescription=Sorry, try again with all the required parameters.

I even tried making a $.getJSON call to the url in code using jquery passing the above parameters but that didnt work too.
Any way to fix this?

Please help.
Thank You.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无可置疑 2024-09-18 08:14:38

在登录参数之前使用 ?& ,如下所示
?&login=myusername&passwd=mypass&oauth_consumer_key=myconsumerker.
顺便问一下,你住在哪里,所以我才问
http://developer.yahoo.com/messenger/guide/ch06s02.html#< /a>

use ?& before login parameter like this
?&login=myusername&passwd=mypass&oauth_consumer_key=myconsumerker.
by the way, where do you live i ask becuse of this
http://developer.yahoo.com/messenger/guide/ch06s02.html#

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文