Dear, Could you please help me? Let say, i want Get Favorite Movies, i need call GET /account/{account_id}/movie/favorites But i don't know how can i get my account ID? Thanks,
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 ticao2 š§š· pt-BR
on September 10, 2020 at 5:57 PM
I don't use v4. So it can be different.
But I believe the ID must be your username.
In my case:
https://www.themoviedb.org/u/ticao2/favorites
Reply by tuoitrexuquang
on September 11, 2020 at 5:16 AM
Hi @ticao2 I am trying to fetch the data following this document: https://developers.themoviedb.org/4/account/get-account-lists but i don't know how to get account id?
Reply by djmtype
on March 26, 2021 at 3:51 PM
@ticao2 that's the HTTP endpoint, not the API endpoint. The account ID requires and integer not a string, so it wouldn't be your user ID. I'm still trying to find out the answer. Anyone?
Reply by djmtype
on March 26, 2021 at 5:33 PM
I figured it out. https://www.themoviedb.org/talk/605cbdda8f26bc002a612929#605e51579a64350054ff8c63
Reply by tmdb46558276
on April 21, 2021 at 8:04 AM
Am also find Solution For that
Reply by ar1laska
on April 13, 2022 at 3:37 PM
this is a test
Reply by vivek_stark
on September 10, 2022 at 1:44 PM
for god's sake somebody tell me what is an account id and where can I find it?
Reply by vivek_stark
on September 10, 2022 at 1:46 PM
I have tried my username but is not the account ID. Please help
Reply by asolis_19
on September 16, 2022 at 8:59 PM
in get details you can get your id account https://developers.themoviedb.org/3/account/get-account-details
Reply by andromidasj
on October 28, 2022 at 12:28 AM
This is poorly documented, but there seem to be a v3 id and a v4 id. The v3 id is retrieved from the endpoint
https://api.themoviedb.org/3/account
(which can be authenticated with just an Authorization header with your bearer token), under "id", and it can only be used on v3 endpoints. For v4 endpoints, the only way I could find so far to get the id is to go through the auth process - generate a request token via the API, validate the request token by going tohttps://www.themoviedb.org/auth/access?request_token={request_token}
, and then generating an access token via the API. On the API response which gives the access token, it also gives the v4 id as well.Seems unnecessarily complicated in my opinion, I wish that a simple call to /account with the proper Bearer token would include the v4 id.
Reply by Jerry Dodge
on June 13, 2024 at 7:43 AM
I just discovered that at least using v3, you could pass your session_id as a query param instead of accout_id...