HTTPS SSH

Library to display trakt.tv history in a ghost page

Used Libraries:

TheMovieDB by Franco Cavestri https://github.com/cavestri/themoviedb-javascript-library

JQuery https://jquery.com/ (Not needed, as it is usually already in the theme.)

Configuration

Add this after jquery in the default.hbs

...
<!-- include this in your default.hbs (after jquery)-->
<!-- from https://github.com/cavestri/themoviedb-javascript-library -->
<script src="{{asset "js/themoviedb.js"}}"></script>
<!-- own function, configure the library for your purposes-->
<script src="{{asset "js/ghost_trakt.js"}}"></script>
<!-- own function, configure the library for your purposes (english version)-->
<!-- <script src="{{asset "js/ghost_trakt.en.js"></script> -->
<!-- end of including -->
...

Then adjust the js/ghost_trakt.js. You need a Trakt.tv APIKEY and a TDMB APIKEY.

Create your own Trakt.tv application here: https://trakt.tv/oauth/applications

Register at tmdb and access this URL: https://www.themoviedb.org/settings/api