2017-09-26 103 views
1

所以..我寫了很久以前更新雅虎聯繫人應用程序似乎已停止工作......它是用您好!OAuth1認證...雅虎社交/聯繫人API - >更新聯繫(PUT方法)

做一個PUT到http://social.yahooapis.com/v1/user/me/contacts 讓我一個404 Not Found on Accelerator錯誤

<!-- status code : 404 --> 
<!-- Not Found on Accelerator --> 
<!-- host machine: e20.ycpi.cha.yahoo.com --> 
<!-- timestamp: 1506448562.000 --> 
<!-- url: http://social.yahooapis.com/v1/user/me/contacts--> 

思考這個問題可能是其您好!OAuth1 API。我切換到OAuth2

同樣的錯誤

所以我嘗試http://social.yahooapis.com/v1/user/me/contacts(HTTPS) 我得到我使用的範圍sdct-whttps://developer.yahoo.com/oauth2/guide/yahoo_scopes/

是雅虎聯繫人API死還是我做錯了什麼 401 You are unauthorized for this operation

回答

1

https://social.yahooapis.com/v1/user/{guid}/contacts

一)端點現在是HTTPS(文檔仍顯示HTTP)
B)以前可以用「我」爲{GUID} ...這不再是這種情況