Creating a database of user interests

Now that we have a web app that runs regularly, tweeting personalized news to users, let's move on to the next obvious step, which is creating a database where the Twitter bot can pick up user information. Currently, we have hardcoded this information into the bot, which is not ideal. To create a database, let us use a MongoDB hosting service called mlab.com.

Be aware that for legal reasons, if you decide to make the bot publicly available, you may have to inform users that the bot will store users' personal information.

To create a database for the twitter bot, follow these steps:

  1. Go to www.mlab.com. Click SIGN UP:
  1. Fill in your details and click Create Account.
  2. Verify your email by clicking the link ...

Get Hands-On Chatbots and Conversational UI Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.