The Movie Database Support

I want make request for api key on my user account

17 replies (on page 1 of 2)

Jump to last post

Next pageLast page

Instructions on how to generate an API key can be found here.

Cheers.

@travisbell said:

Instructions on how to generate an API key can be found here.

Cheers.

This is all I could find on how to get an api key. The page instructions it sends you to is wrong and outdated. Of course, I'm trying to find out two years later, but there is nothing, zilch, no instructions. I've seen video tutorials using TMDb as a great RESTful API for movie information. If you follow the instructions on the page suggested (it's still there, so you would think it is correct), you get sent to your settings, to click on api, there was a page that allowed you to request an api key. That is history. You can't get an api key and can't use this api service anymore. You must have a fully developed app (I guess you have to program blind), then have a website where your app is located, before they will authorize you to get an api???

I really like this database. I would like to query it. I've tried to get one so I can see all the queries I can make and then apply them to a web site with apps within it to pull up information on movies I'd like to feature and review as my favorites. No such luck anymore, it seems.

Anybody with rational reasons can apply for developer key and if you don't have any app, just explain in the application form what you want to use the key for. For example, I'm not a developer and I use the API access only to make lists of the records in the field of my interest to help me find missing or incorrect information, yet @travisbell approved my application without any objections (long before I was promoted to mod).

Thanks, I'll try, but they currently have very clear policies written as you try to apply for an api key. Did you do this recently?

It was ~8 months ago, if I remember correctly.

OK, well, thanks anyway. I tried, and now I'll see if they approve me. Fingers crossed.

Hi @silvanet, I'm a bit confused... it looks like you registered an API key back in February 2017. Your API key will continue to work fine, and you do not need to request another.

Funny thing is that I had thought so as well, but my api key wasn't working. I just got into the documentation and was trying to get responses, but kept getting that I didn't have a valid api key. Then, when edited my app details and reapplied to have it listed, suddenly I could see the sessions and stats, which I couldn't see before. I started getting successful responses until I tried to create an user authorization token. Repeatedly I kept getting successful response to creation of the token. I followed instructions from here, https://developers.themoviedb.org/3/authentication/how-do-i-generate-a-session-id.

I created a new request token, successfully. Here was the curl request and data response:

$ curl --request GET \
>   --url 'https://api.themoviedb.org/3/authentication/token/new?api_key=myapi_key' \
>   --data '{}'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   116  100   114  100     2    125      2  0:00:01 --:--:--  0:00:01   127{"success":true,"expires_at":"2019-09-09 21:53:49 UTC","request_token":"the request token"}

I immediately sent it for authorization in this manner:

https://www.themoviedb.org/authenticate/{"the_successfully_received_request_token_above"}

I've tried countless ways, but always get that it is an invalid request token.

So, I can't get past that step. Now my Sessions, always says "No sessions have been authorized to your account." I think I am awaiting a new approval. Did I destroy my original api approval? And a new submitted app is screwing everything up?

It may be tricky to debug, but you can:

A/ Try to do all the steps described here using "Try it out" tabs in TMDB API documentation (I did it successfully with another user yesterday), just use new anonymous browser window to make sure something doesn't mess with with your other browser sessions.

B/ Make another private thread and post your developer API key there, so I can try to create session_id with my test account and give you the results.

re: A/ I did follow those instructions exactly and kept getting that the token was invalid, after getting successful issuance of a request token. Yes, the "Try it out" tab for requesting a token worked perfectly, It's the sending it for authorization that isn't working for me.

re: B/ how do I make a private thread?

re: B/ how do I make a private thread?

Create new thread in API support section and then https://imgur.com/JbkfrDB
Only mods and those users who were in the thread when you make it private can see it.

Oops, I clicked on the link and I think I sent a screenshot?

My link is a screenshot with marked location of "Make Private", which you must set manually in your new thread (only mods and original posters can make threads private). Or just make a new thread and I will make it private myself, so you can post a key in it.

OK, I followed the instructions and set up that private post to support api. Then I clicked on the link that opened up Imgur. I don't know, but that screen didn't seem at all private. Did I just publish my api key?

Oh, crap, I did NOT include "Make Private."

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