views:

156

answers:

2

I am a developer a large social network.

Does the protocol OAuth without browser? I plan to write desktop and mobile applications that can not use your browser to get access_token. It worries me step for get Access_token, I can not understand how to implement it.

Give examples of code if possible ...

A: 

No, at least using the common OAuth flow (also called 3-legged).

You need to open a browser so the user can grant your app access to the protected resources.

You could use the 2-legged OAuth variation, but it's poorly documented and supported.

Pablo Fernandez
A: 

This has been asked before see http://stackoverflow.com/questions/1934187/oauth-secrets-in-mobile-apps

drubin
The questions are completely different
Pablo Fernandez
How so, the issues faced with OAuth on a mobile phone are almost exactly the same as issues faced by Oauth with out a browser ie mobile application.Please explain how they are different?
drubin