Assistance de TMDB

Hi, I was wondering if the following is possible:

  • enable users of my application to create a new account
  • enable users to login
  • add movies as favorite s

So far I only found I am able to create an session using my api key. But for as far as I know the api key is linked to my account and thus would allow the users to edit my account. so how would I be able to provide this for my users?

Thanks in advance

8 réponses (sur la page 1 sur 1)

Jump to last post

Hi dictator,

While your API key is indeed bound to your account, sessions are attached to both your account (s the application) and individual user accounts. Step #2 when creating a new session is what attaches an end users account to your application. This lets an individual user rate movies and mark them as a favourite for example.

So, to answer your questions…

enable users of my application to create a new account

Anyone can sign up for an account, just direct them to the register page.

enable users to login

Follow steps 1-3 and you are allowing them to "login" within your application and execute some user only functions.

add movies as favourites

Already outlined above.

Cheers.

Great i think i am able to achieve what i want now, thanks

What key should i store to save the user that logged, the requestkey or the sessionkey?

The session key is what you will use in combination with an API key to execute user actions. You should store the session key.

The sessionkey will not invalidate?

No. The only way it can be revoked is by the user in their account area.

Great i am going to try this tomorrow, thanks for your quick replies

Wanted to let you know i got it working ;) thanks for your help

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion