Closed GoogleCodeExporter closed 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
Original comment by nabeelmukhtar
on 30 Dec 2009 at 12:22
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
Original issue reported on code.google.com by
thucquye...@gmail.com
on 21 Dec 2009 at 3:44