Hi! So I followed the steps here https://www.themoviedb.org/documentation/api/sessions I did 1 and 2a and then I tried 1 and 2b and both times i got a session denied.
Response:
{ "status_code": 17 "status_message": "Session denied." }
Please help! what am i doing wrong?
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 10 декември 2015 в 10:58 AM
Hi edodd,
Are you making sure to use the request token before it expires? I'm not sure what to tell you, my first try just now worked.
One thing maybe you're missing, when you call /authentication/session/new (step 3) this is the step that generates your proper session id. You don't use your request token as your session ID. Upon success, you will receive a response like this from step 3:
Now you're good to go with the properly generated session id (which is different than your request token, the request token is throw away).
Отговор от edodd
на 12 декември 2015 в 11:47 AM
I think I figured out what i did wrong. I was putting request_token=#### when I should have been putting just the ### (REQUEST_TOKEN)
Now I just have a problem with the session_id not allowing me permission to post.