Quote:
Originally Posted by PleaseHelp
That's simply how to sign and execute any method with the API. We've already gotten that to work a long time ago, that isn't the problem here.
The problem is how to keep a user logged in AFTER you've run the login_login method. Specifically, this:
How do we do that?
|
What I have told you is how its done.
When you create a session with api_init, and get the (session) accesstoken, the userid in the session table at that point is 0. Once you login correctly using the login_login method, that session userid is changed to x (your userid), so any future requests with that access token will run as userid x.
FYI, those details were taken direct from a sucessful session, where I logged in, and then checked the PM folder.