使用新发布的 API 登录 Yahoo Messenger
我正在尝试使用新发布的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在登录参数之前使用 ?& ,如下所示
?&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#