About the Page Map
About the Page Map
The page_map
is a dict containing info about the pages added to a Profile
It’s used to help detect new posts and compose tweets on a per-page basis
Entries are created when you
add_pages()
, which map the page to aPAGE_MAPPING
The
PAGE_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 page_map
as follows:
get_page()
allows you to retrieve a full entry by page nameget_hashtags_for()
,get_scraped_from()
,get_tweets_for()
provide access to lists