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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on December 10, 2015 at 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).
Reply by edodd
on December 12, 2015 at 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.