作者pf5179 (pf5179)
看板Python
标题[问题]关於YAHOOIM的登入问题
时间Fri Jan 14 14:08:59 2011
请问一下板上的大大
我想要用python写出一个登入yahoo messenger的程式
在此先简述一下步骤
1.Create a Yahoo! Messenger Open Authentication (OAuth) API Key.
2.Authenticate with the Yahoo! Messenger IM SDK servers.
3.Create a new session.
4.Obtain and update presence information.
5.Obtain the current contact list, as well as more detailed information on a
particular contact.
6.Send and receive a message from another contact.
以上是要使用程式登入Yahoo Messenger的步骤
目前碰到的困难是第3点
我想要创造一个session(也就相当於是登入)
先前已经申请过APIKEY
也用APIKEY取得了PART
然後再用PART取得认证
拿到oauth_token了
拿到的oauth_token印出来也都跟他例子的型式一样
但是
再创造session的那一步
却神秘的卡住了!!!!!
我收到的错误讯息是OAuth oauth_problem="token_rejected"
可是明明就已经拿到了啊~~~~
能不能请大大帮忙解答呢~?
以下是网路空间的连结
我把档案上传到上面
http://w.csie.org/~b99902004/
感谢各位的帮忙!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.30.99
1F:推 bztfir:112推XD 01/14 23:56
2F:推 mars90226:加油! 01/15 12:31