Twitter的应用程序使用CodeIgniter

问题描述:

可能重复:
Best practices - store Twitter credentials or not?Twitter的应用程序使用CodeIgniter

我工作的有很多Twitter的集成的web应用程序,并使用艾略特Haulighin的Twitter库笨。 我不熟悉Twitter API,我的应用程序应该能够更新用户的Twitter状态,但是面临的困境是存储用户的Twitter授权,以便他们在重新访问该网站时不必重新授权我的Twitter应用程序。 我想知道,如果可能的授权存储在一个数据库表

+0

请访问http:// stackoverflow.com/questions/879430/best-practices-store-twitter-credentials-or-not。使用[OAuth](https://dev.twitter.com/docs/auth/oauth/faq)意味着您根本不必存储密码。 – Adam

在39与中Elliot's library test controller 40,他说你可以保存令牌数据库:

// These can be saved in a db alongside a user record 
// if you already have your own auth system.