kates's ruby plurk lib 'add_all_as_friends' method doesn't work?
kates’s ruby plurk lib is a nice plurk lib for ruby. But I notice that the ‘add_all_as_friends’ method doesn’t work and always throws an exception (API call return an error message page and JSON parse failed)
Add following code before you new a Plurk::Client
module Plurk
class Client
ENDPOINTS[:add_all_as_friends] = {:path=>"/API/Alerts/addAllAsFriends", :login_required=>true}
end
end
This is because that the API path is /API/Alerts/addAllAsFriends not /API/Alerts/addAllAsFriend. The code shows that they amiss lost the ending ‘s’. And I will contact them to fix this.
喜歡這篇文章嗎?你可能也會喜歡我的學習電子報,我會分享經過篩選的優質內容 + 學習心得
📚 訂閱我的學習電子報
📖 涵蓋主題:
🧑💻 軟體工程
🎯 生產力
💰 商業理財
🧳 創業
🐱 奇怪的知識增加了
💭 思考人生心得
🎁 現在訂閱就送我個人非常愛用「學習任何領域皮毛的 AI Prompt」!
立即免費訂閱 →
✨ 不浪費你的時間,只分享達到我標準的優質內容