Example server-side infrastructure for building and supporting conversational interfaces. If you want to find out more, check out my Medium post here.
This particular example of the server provides Spotify music recommendations when you talk to your bot. If you want to try the bot out without running the server, send a message to @HelloAriaBot on Telegram.
Run $ npm install
- Go into Telegram, talk to BotFather.
- Create a new bot.
- Take the telegram token and add it to your environment variables or update
/config/index.js
- If you want to set your environment variable run
$ export TELEGRAM_TOKEN=your_token_here
- Go to developer.spotify.com
- Create a new app
- Get the client id and secret and add it to your environment variables or update
/config/index.js
- Run
$ export SPOTIFY_CLIENT_ID=your_client_id_here
- Run
$ export SPOTIFY_CLIENT_SECRET=your_client_secret_here
- Run
$ npm start
- Text the bot you made during the installation process
- Enjoy Spotify music recommendations