Supporto The Movie Database

quant je cherche un acteur avec l'api le profile_path est vide

when I am looking for an actor with the API the profile_path is empty

ex: https://api.themoviedb.org/3/person/2185139?api_key=####

adult   false
also_known_as   []
biography   ""
birthday    null
deathday    null
gender  0
homepage    null
id  2185139
imdb_id null
known_for_department    "Crew"
name    "Actor"
place_of_birth  null
popularity  0.6
profile_path    null

Thank you for your reply

6 risposte (nella pagina 1 di 1)

Jump to last post

Hi @thorgal-06,

That person doesn't have a profile image added, as you can see here: https://www.themoviedb.org/person/2185139-actor

Cheers.

Ok sorry i made a mistake !

but I have another problem when I invoke movie credits for the actors I only have truncated information

resultat :

id cast -- ---- 619592 {@{adult=False; gender=2; id=2461; known_for_department=Acting; name=Mel Gibson; original_name=Mel Gibson; popularity=12,878; profile_path=/uHldNnlyi73x9hoZB…

for the film "force of nature" id 619592

@thorgal-06 said:

Ok sorry i made a mistake !

No worries.

but I have another problem when I invoke movie credits for the actors I only have truncated information

619592 {@{adult=False; gender=2; id=2461; known_for_department=Acting; name=Mel Gibson; original_name=Mel Gibson; popularity=12,878; profile_path=/uHldNnlyi73x9hoZB…

I'm not following, what's the issue? That looks like a programming issue, and not something I can really help with.

OK I had to display all the properties of the object

thank you another question how to activate the adult parameter in the results!

@thorgal-06 said:

OK I had to display all the properties of the object

thank you another question how to activate the adult parameter in the results!

Use &include_adult=true
In addition, I believe that in your profile this option needs to be enabled.
In this link put Yes in the option.
https://www.themoviedb.org/settings/account

Ok thanks !

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi