Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

1
How do I make a route, when a user presses on a link?
Post Body

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?

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
3,447
Link Karma
2,288
Comment Karma
1,075
Profile updated: 1 day ago
Posts updated: 5 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago