Hello everyone
I use some information from the MovieDB on my site. I want to allow the user to click on a link to get directly to the openMovieDB and the relevant movie-page. Most other API's offer something like "siteurl" or similar to provide this. Or they use the id in the url to point to the right page.
Am I missing something or how do I link to a specific movie using the info from the API ?
Thanks in advance Michael Lurie
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Dale
در تاریخ سپتامبر 5, 2013 ساعت 4:13 ب.ض
Depending on what information your using from MovieDB. If you hold the MovieID from MovieDB what you could do is use the API to search a movie by title and return ID. Then what you need to do for a link is some thing like below:
The space between the < and the a is there because otherwise it tries to create a link on the page.
Dale :D
پاسخ توسط Travis Bell
در تاریخ سپتامبر 6, 2013 ساعت 9:04 ق.ض
Hi Michael,
Yes, as Dale mentioned you need inky the id.
Ie.
https://www.themoviedb.org/movie/550
Cheers.
پاسخ توسط Michael Lurie
در تاریخ سپتامبر 6, 2013 ساعت 9:45 ق.ض
Thanks. That did it. Michael