ruby on rails - Save access_token -


i using facebooker2 uses mogli facebook authentication , save created access_token database. saving access_token created cookie save database well. possible? can provide example?

thanks.

facebooker2 provides method current_facebook_client, can use controller obtain access_token , save database (e.g.: fb_access_token field of user model):

at = current_facebook_client.access_token current_user.update_attribute(:fb_access_token, at) 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -