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 aUSER_MAPPING
The
USER_MAPPING
maintains lists of hashtags, scraped posts, and sent tweetsThe mapping is updated when you
add_hashtags()
and successfullysend_tweet()
You can access entries in the user_map
as follows:
get_user()
allows you to retrieve a full entry by usernameget_hashtags_for()
,get_scraped_from()
,get_tweets_for()
provide access to lists