This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm making a movie app that displays the top 10 movies of the specific input you typed by using the IMDB API. This all happens in the Home page. In the favorites page, I made it so that when the user presses the heart sign for a certain movie, it passes the imdb ID to the favorites state. Since the omdb Api doesn't have much info, I used the TMDB Api. The imdb Id in the favorites state is then used to display the movie title,background, small details, and other minimal infos. But I wanna make it so that when the user clicks on more details, it makes another page like www.imdb/{this.state.favorites}. So it has to change for every movie. The more details page is a single movie page which only displays specifically about that one movie. Since the route link changes depending on every movie because of the imdb ID. I wanna be able to display the movie details page using the imdb id in the route link. Using the imdb ID, I plug in into the TMDB API, which utilizes the imdb id and shows the movie in much details. Is this possible? If so how would I do it?
Subreddit
Post Details
- Posted
- 6 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/reactjs/com...