PHP Telegram search bot for displaying IMDB score, Metascore and a movie poster for the searched movie.
INSTALLATION INSTRUCTIONS:
- Create Telegram bot following instructions: https://core.telegram.org/bots
- Deploy pekka-movie-bot content to your public webserver.
- Insert your Telegram bot's auth token into bot.php line 8.
- Insert the channelID into bot.php line 16.
- Create free account into https://developers.themoviedb.org/3
- Insert your movieDB auth token into GetPoster.php line 13.
- Set webhook to your bot using: https://api.telegram.org/bot[YOUR_BOT_TOKEN_HERE]/setwebhook?url=[URL_TO_PEKKA-MOVIE-BOT_FOLDER_ON_YOUR_WEBSERVER]/bot.php]
- Disable bot's group privacy in the bot's settings.
Done!
Request movie scores and posters by typing !leffa [movie name] to the channel the bot is on.