akhil2909 / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

Hard code linkedIn account #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Nabeel,

Is this possible to hard code user name and password of linkedIn account so
that the user doesn't have to go to the authorization page to grant the app
authorization???

Quyen

Original issue reported on code.google.com by thucquye...@gmail.com on 21 Dec 2009 at 3:44

GoogleCodeExporter commented 9 years ago
Hi Quyen
You cannot get the username and password from the API and you shouldn't 
hardcode it.
Instead try saving access token and access token secret in some database (or 
hardcode
it). You can use that access token to call any API method without going through 
the
authorization page. The user will only need to grant authorization to the 
application
once.

Hope that helps.

Regards
Nabeel Mukhtar

Original comment by nabeelmukhtar on 22 Dec 2009 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by nabeelmukhtar on 30 Dec 2009 at 12:22

GoogleCodeExporter commented 9 years ago
Hi Nabeel,

Thanks for your suggestion. I think that is a good idea. I want to launch the
authorization page automatically when running the OAuthAuthentication process,
instead of copying the link and pasting it to a browser. Then after the user 
grants
the application, the pin is retrieved automatically from the application. Can I 
do it
from the API???

Thanks,
Quyen

Original comment by thucquye...@gmail.com on 4 Jan 2010 at 8:30