Hi, I was wondering if the following is possible:
So far I only found I am able to create an session using my api key. But for as far as I know the api key is linked to my account and thus would allow the users to edit my account. so how would I be able to provide this for my users?
Thanks in advance
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
Travis Bell adlı kullanıcıyı yanıtla
12 k 2013 tarihinde saat 4:12 ÖS'da
Hi dictator,
While your API key is indeed bound to your account, sessions are attached to both your account (s the application) and individual user accounts. Step #2 when creating a new session is what attaches an end users account to your application. This lets an individual user rate movies and mark them as a favourite for example.
So, to answer your questions…
Anyone can sign up for an account, just direct them to the register page.
Follow steps 1-3 and you are allowing them to "login" within your application and execute some user only functions.
Already outlined above.
Cheers.
dictator adlı kullanıcıyı yanıtla
12 k 2013 tarihinde saat 4:50 ÖS'da
Great i think i am able to achieve what i want now, thanks
dictator adlı kullanıcıyı yanıtla
15 k 2013 tarihinde saat 7:12 ÖS'da
What key should i store to save the user that logged, the requestkey or the sessionkey?
Travis Bell adlı kullanıcıyı yanıtla
15 k 2013 tarihinde saat 7:22 ÖS'da
The session key is what you will use in combination with an API key to execute user actions. You should store the session key.
dictator adlı kullanıcıyı yanıtla
15 k 2013 tarihinde saat 7:24 ÖS'da
The sessionkey will not invalidate?
Travis Bell adlı kullanıcıyı yanıtla
15 k 2013 tarihinde saat 8:36 ÖS'da
No. The only way it can be revoked is by the user in their account area.
dictator adlı kullanıcıyı yanıtla
15 k 2013 tarihinde saat 8:38 ÖS'da
Great i am going to try this tomorrow, thanks for your quick replies
dictator adlı kullanıcıyı yanıtla
16 k 2013 tarihinde saat 9:35 ÖÖ'da
Wanted to let you know i got it working ;) thanks for your help