Assistance de TMDB

I am developing an android app on movies and want the users to write reviews on TMDB. After going through the documentation I found that the user has to be authenticated to do that. I successfully created the URL and retrieved a request_token for the user to user (i.e. I have implemented the first part of the authentication). Now while implementing the second part I send the user to the following URL on the browser "https://www.themoviedb.org/authenticate/{REQUEST_TOKEN}" as stated in the documentation. Now the problem is that how to get a result back from the browser to the app that whether the user has allowed the TMDB or has denied so that I can display a message to the user what he/she has to do to use the app. Is there some way to do this?? Developers please help!!

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

Jump to last post

Hi Akshit,

Are you able to monitor the open URL and detect when the URL gets to the /allow address?

Hey Akshit and Travis,

I am having the same problem. The problem is Chrome Custom Tab does not allow to get the url of the page. However, we can know when the page started and completed loading but it wont be of any use.

Do you have access to the headers?

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