megawubs / trakt-api-wrapper

A Object Oriented PHP wrapper for the trakt api
34 stars 19 forks source link

Recommendations missing $token #16

Closed m-vdv closed 9 years ago

m-vdv commented 9 years ago

Hi @megawubs The recommendation calls are missing the $token value. [status code] 401 [reason phrase] Unauthorized

megawubs commented 9 years ago

Do they don't accept the token or do you get this message even when you pass it a token?

Op 17 sep. 2015 16:14, bij 16:14, webslash notifications@github.com schreef:

Hi @megawubs The recommendation calls are missing the $token value. [status code] 401 [reason phrase] Unauthorized


Reply to this email directly or view it on GitHub: https://github.com/megawubs/trakt-api-wrapper/issues/16

m-vdv commented 9 years ago

@megawubs when I pass it a token. OAuth is required, see docs: http://docs.trakt.apiary.io/#reference/recommendations/movies/get-movie-recommendations

megawubs commented 9 years ago

strange, does the same token work on other calls with a token?

m-vdv commented 9 years ago

@megawubs My bad, my composer file was still pulling in the develop branch instead of master!

The fix is only present in the master branch: https://github.com/megawubs/trakt-api-wrapper/commit/704dd07c121012bd7917d610547e80dbf5c8782f

This can be closed :+1: