Soporte de The Movie Database

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 respuestas (en la página 1 de 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?

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión