Storing Twitter OAuth in MySQL

Posted by nute on Stack Overflow See other posts from Stack Overflow or by nute
Published on 2009-10-30T18:42:04Z Indexed on 2010/04/02 2:03 UTC
Read the original article Hit count: 790

Filed under:
|
|

I'm about to add a feature on my website that will post stuff to the users' twitter accounts. I read that storing an "OAuth" token is better than storing their usernames and passwords (which makes sense).

What should I store in my MySQL database? The token, secret and username? Or just the token?

What data type(s) would you use? How big are they?

Thanks!

© Stack Overflow or respective owner

Related posts about oauth

Related posts about twitter