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."}
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por simonferndriger
el 29 de julio de 2024 a las 12:53
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.
Contestado por simonferndriger
el 30 de julio de 2024 a las 00:29
Is this a known issue and somebody already working on it or are you as surprised as I am?
Contestado por simonferndriger
el 31 de julio de 2024 a las 12:55
Anyone?
Contestado por Travis Bell
el 1 de agosto de 2024 a las 11:21
What's the
media_id
you are passing in?I am not seeing any issues:
Add to favourites
Response
Remove from favourites
Response
Contestado por simonferndriger
el 2 de agosto de 2024 a las 23:24
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