This sample demonstrates a bot to interact with Trakt.tv services. It has been developed with TypeScript & Azure Bot Service v4. Core folder contains helper files that simplify the development of bots with Bot Builder SDK v4.
You can find a C# version of this sample here: TraktBotCSharp_V4.
- TypeScript
- Azure Bot Service v4
- JavaScript version of the Bot Builder SDK v4
- Node.js samples of the Bot Builder SDK v4
- TypeScript samples of the Bot Builder SDK v4
- Bot Builder tools
- Microsoft Bot Framework Emulator
- IBEX Dashboard
This is the specific documentation I used to build this sample:
- Create a bot with the Bot Builder SDK for JavaScript
- Bot configuration with .bot file
- Send welcome message to users
- Persist user data
- Manage conversation and user state
- Manage simple conversation flow with dialogs
- Middleware
- Add suggested actions to messages
- Add media to messages
- Send an Adaptive Card
- Add authentication to your bot via Azure Bot Service
OAuth Connection Settings for TraktTv in Azure Bot Service:
- Name: TraktTv
- Service Provider: Generic Oauth 2
- Client id: << your trakt.tv client id>>
- Client secret: << your trakt.tv client secret>>
- Authorization URL: https://api.trakt.tv/oauth/authorize
- Token URL: https://api.trakt.tv/oauth/token
- Refresh URL: https://api.trakt.tv/oauth/token
- Track sentiment of messages in App Insights.
- Add testing.