How to persistent oauth login info?
I am developing a thrid api client for a website.It use oath
Now How can I only let my app user login one time.
I want to persistent oauth info in session , how to?
Becase 开发者_开发问答every time you use app, you have to login into offical website.it boring.
This depends on service you are using. For example twitter requres you to use "authentication url" ( https://api.twitter.com/oauth/authenticate ) instead of "authorization url". Facebook uses 2.0 version with javascript so there is not problem with that - you have to include offline_access as permission.
In Google Data API I'm not sure yet.
精彩评论