A few months ago I had successfully requested API with appending account_id but now I forgot the way to get account_id.
Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.
Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?
Ei rekisteröitynyt jäsen?
Vastaus käyttäjältä Travis Bell
23 syyskuu 2018 klo 12:42PM
You will get the account id from completing a /auth/access_token request. You can check out the example response.
Vastaus käyttäjältä Santos_90
28 toukokuu 2024 klo 5:57AM
These account_id is really account_object_id used in some endpoints in API v4. The account_id is an Int, not a String:
This number is required aparently in some methods like https://api.themoviedb.org/3/account/{account_id} If you try this endpoint in API documentation and delete the required account_id path param you obtain a succesful response. I don't know if is an error or the endpoint obtains the usser account acroos the ACCES_TOKEN_AUTH.
These is my solution in Kotlin: