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!!
Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.
Wil u hierdie item gradeer of tot ’n lys toevoeg?
Nie ’n lid nie?
Antwoord deur Travis Bell
op 12 November 2016 om 4:58 NM
Hi Akshit,
Are you able to monitor the open URL and detect when the URL gets to the /allow address?
Antwoord deur Abdul Rauf
op 7 Januarie 2017 om 3:52 NM
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.
Antwoord deur Travis Bell
op 8 Januarie 2017 om 11:07 VM
Do you have access to the headers?