嘿傢伙我正在計劃創建一個將使用twitter API的web應用程序。我搜索了互聯網,並找到了幾個PHP Oauth庫,從Zend Framework上的模塊到github上的一個人項目。他們都很好看,我想嘗試一切,但我沒有時間。所以我的問題是,對於那些有使用PHP的Oauth庫的經驗者,最好是作爲代碼點火器庫。什麼是最可靠,最完善的庫使用?哪些我應該遠離?請分享您與PHP和Oauth的經驗,謝謝!CodeIgniter Oauth庫
0
A
回答
3
這裏是我用PHP +端Oauth經驗:時間做了有趣的東西
1%。 99%的時間試圖找出簽名無效的原因。
0
我與OAuth-PHP一起寫了一個提供者和客戶端。
文檔沒有完善,但示例和wiki中的客戶端代碼很容易推理。這些功能很好地對應於各種OAuth動作(「通過我的憑證使用GET方法獲取資源X」)。它甚至提供了一系列的數據存儲,所以它堅持所有堅持不懈的東西。我將會話存儲用於客戶端和MySQL存儲服務器。
相關問題
- 1. Codeigniter + oAuth服務
- 2. Codeigniter。實現oAuth
- 3. oAuth和Codeigniter與MongoDB
- 4. Codeigniter/i18n URL的OAuth問題
- 5. OAuth庫源
- 6. Clojure OAuth庫
- 7. CodeIgniter OAuth 2服務器/提供商
- 8. 使用CodeIgniter集成的OAuth 2.0
- 9. 如何在codeigniter中使用OAuth類?
- 10. Codeigniter - Twitter。 oauth回調錯誤重定向
- 11. 在CodeIgniter中實現Zend Gmail OAuth
- 12. Oauth,Twitter和其他人 - Codeigniter PHP
- 13. CodeIgniter和i18n庫
- 14. Codeigniter圖片庫
- 15. Codeigniter庫參數
- 16. codeigniter菜單庫
- 17. CodeIgniter支付庫
- 18. CodeIgniter模板庫
- 19. CodeIgniter和JS庫
- 20. CodeIgniter PDF庫?
- 21. CodeIgniter jQuery JSON庫
- 22. Google api oauth桌面.net庫
- 23. Instagram的OAuth與thiago locatelli庫
- 24. Ruby的oAuth 1/2庫
- 25. 如何添加庫的OAuth
- 26. Javascript庫爲多個OAuth 2.0
- 27. 簡單的PHP和oAuth庫
- 28. Clojure OAuth 2服務器庫
- 29. 通用的OAuth庫C#
- 30. OAuth提供程序庫(Java)
也許你可以通過包括你發現的一些例子來擴展99%? – wallyk 2012-03-30 23:40:44
我開始使用PECL oauth擴展,但我還沒有解決這個 - > https://github.com/demogar/tmhOAuth-codeigniter 適用於CI原創的庫,由https://github.com/themattharris編寫/ tmhOAuth – justanotherprogrammer 2012-03-31 03:53:58
我發現許多OAuth服務器實現有細微差別,這使得使用標準庫非常困難。我幾乎總是建議使用爲您與之交互的平臺編寫的SDK。 – landons 2012-03-31 17:52:58