看板 Python 關於我們 聯絡資訊
請問一下板上的大大 我想要用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
bztfir:112推XD 01/14 23:56
mars90226:加油! 01/15 12:31