The Movie Database Support

Hello!

I can authenticate with v3, but v3 won't allow me to import TV shows into custom lists (I can only import movies). I've tried to authenticate with v4, as I see in the documentation that allows mixed lists (TV show imports), but I run into problem.

I successfully generate and receive a v4 {request_token}, but when I visit (or my script visits) https://www.themoviedb.org/authenticate/{request_token}, I get the message:

Invalid Request Token
The access token you have submitted is invalid. Most of the time, this is because the token has expired...

This happens if i wait 1/2 a second, 5 seconds, 10 seconds, etc. to authenticate the response token. I've confirmed my server time is correct, the request token is not reused, the token is not expired, the v4 read access token is correct, and even tried this with no redirect_to.

Any help would be greatly appreciated; thanks in advance. :)

1 reply (on page 1 of 1)

Jump to last post

Got it! Sorry for the bother. Wasn't using the correct approval URL (v4 documentation is https://www.themoviedb.org/auth/access?request_token={request_token}). Not sure where I got the /authenticate/ rather than /auth/ path structure.

So glad I'm only a weekend coder, lol. All good now. :)

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login