If I'm not mistaken, the following POST request did work earlier, but doesn't anymore?
https://api.themoviedb.org/3/account/[###]/favorite?api_key=[###] with the data:
{
favorite: true,
media_id: 123,
media_type: 'movie',
},
I get the response {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de simonferndriger
le 29 juillet 2024 à 12h53
By the way, on the https://www.themoviedb.org/u/simonferndriger/favorites page the favorite toggle button doesn't work either. It only works on the detail page.
Réponse de simonferndriger
le 30 juillet 2024 à 00h29
Is this a known issue and somebody already working on it or are you as surprised as I am?
Réponse de simonferndriger
le 31 juillet 2024 à 12h55
Anyone?
Réponse de Travis Bell
le 1 août 2024 à 11h21
What's the
media_id
you are passing in?I am not seeing any issues:
Add to favourites
Response
Remove from favourites
Response
Réponse de simonferndriger
le 2 août 2024 à 23h24
I'm sorry, you're right! Now it works like it should. Don't know what the issue was before unfortunately, but I can imagine there was something wrong with the account id at first...
PS: But I can say that the media_id doesn't seem to matter when trying it on the tmdb website itself. See screen recording here: https://go.screenpal.com/watch/cZjeeqVPSoL - There I tried it for example for
205596
, and it only worked on the detail page https://www.themoviedb.org/movie/205596-the-imitation-game but NOT on my favorites page https://www.themoviedb.org/u/simonferndriger/favorites