Getting URL for twitter,Facebook,Gmail from desktop application
we need to Login Facebook,Twitter,Gmail from our desktop application we have
OAuth tokens such as 1.Consumer key, 2.Consumer Secret, 3.Token, 4.Token secret.
We have these detail.. And In our desktop application we embedded Web browser.. So we need to open the Facebook,Twitter,Gmail in the embedded web browser(Without asking Login Credentials) from our desktop app..
We need a URL that automatically login to specified application(Twitter,Facebook..etc) in Browser
This is not possible.
Pretty much the whole point of OAuth is to provide the Consumer (your app) with credentials which can be used to authenticate/authorise API calls to the Service Provider (Facebook) but which cannot be used to log in to the Service Provider website.
What you want to do would destroy this benefit that OAuth has over the password anti-pattern.
链接地址: http://www.djcxy.com/p/76518.html