I need to add 5 of my favorite movies to this list using API 4 but I get a few different errors. The most common response is a 402.
Here is the syntax for my URL:
https://api.themoviedb.org/4/list/<list ID>/<ListofMovies>
An example URL would look like this:
https://api.themoviedb.org/4/list/7113143/MovieList
I'm still new to this so I'm sure there's something fairly simple I'm leaving out of my request.
Any help on this would be appreciated!!
Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.
Want to rate or add this item to a list?
Not a member?
Odpověď od Omar
03.05.2024 v 4:54 DOP.
It's a post request to this url 'https://api.themoviedb.org/3/account/{account_id}/favorite' then add session_id and api_key and in the body put some thing like this: { "media_id": 763215, "media_type": "movie", "favorite": true }