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 的回复
于 2015 年 12 月 10 日 10:58上午
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 的回复
于 2015 年 12 月 12 日 11:47上午
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.