About the User Map

About the User Map

The user_map is a dict containing info about the users added to a Profile

  • It’s used to help detect new posts and compose tweets on a per-user basis

  • Entries are created when you add_users(), which map the user to a USER_MAPPING

  • The USER_MAPPING maintains lists of hashtags, scraped posts, and sent tweets

  • The mapping is updated when you add_hashtags() and successfully send_tweet()

You can access entries in the user_map as follows: