I'm getting an error with the MovieDbHandler.SearchMovie method. I'm getting the error: "Couldn't connect to TheMovieDb.org to retrieve [Movie Name], you may use an invalid api key or the series doesn't exists". The API key is valid since I can use http://api.themoviedb.org/3/movie/550?api_key=[mykey] just fine. My C# code is:
List searchMovies = mDbH.SearchMovie(mf.MovieName, new MovieDbLanguage(0, "en", "English"));
The movie name could be anything. For simplicity, I chose "Red"
This used to work just fine months ago but when I revisited it today, it no longer works. I thought it was because my API key was invalid, but I don't know how else to debug it.
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2013 年 12 月 29 日 11:31上午
Hi tmar89,
I'm assuming you're using some kind of an API library here? Are you sure it's using our v3 API and not the old and shut down 2.1?
tmar89 的回复
于 2013 年 12 月 29 日 12:40下午
Thanks, Travis. That was the problem. I was using an outdated library. I switched to WatTmdb and my applications works again.
Travis Bell 的回复
于 2013 年 12 月 29 日 2:55下午
Great!