Launching Netflix iOS App from another iOS App
I've found around the web you can use the nflx:// url scheme to 开发者_StackOverflow社区launch the Netflix app. Has anyone worked out the params to actually land it on a specific movie or search?
From this thread:
Looks like Netflix does this already. Example URL:
nflx://www.netflix.com/WiPlayer?shopperId=G-510cf375-e838-41c3-b3bd-1ab5ae98b667-1&movieid=1179468&trkid=1462433&episodeid=0&returnUrl=http%3A%2F%2Fwww.netflix.com%2FWiPlayer%3Fmovieid%3D1179468%26trkid%3D1462433%26pbc%3Dtrue
nlfx:// anything opens up the netflix app. Not sure where the shopperId comes from. I replaced whatever netflix used with a new UUID using uuidgen.
In my case I simply tried using a nflx:// URL and using the movieid parameter - this did not work correctly.
But also, more importantly:
At this point, we aren't officially supporting any external launch points into the Netflix iPad application. If you suss them out yourselves and use them, the danger is that they may eventually go away.
精彩评论