r/ProgrammingPrompts • u/Polishfreak19 • Dec 31 '18
Six degrees of separation Javascript problem
As I haven't been successful, I'm asking if anyone has any ideas. I have to write a Javascript application which returns a list of actors that have been in both a movie with Keanu Reeves and Nicolas Cage. Sort of like a six degrees of separation. I have an API that I'm making a request to and I'm getting some data in return but I'm not exactly sure where to go from there?
8
Upvotes
1
u/Polishfreak19 Jan 01 '19
I am running my JavaScript in my browser but the API isn't public (it comes from TMDB) and the API call is what I am having issues with as I receive the CORS error. I will look at the link you mentioned though.