InstaTweet
2.2.0

InstaTweet README

  • ✨🐥 InstaTweet 🐤✨
    • Automatically Repost Content From Instagram to Twitter
    • What’s InstaTweet?
    • Okay… But Why? 😟
      • Other Use Case: The InstaClient
    • Installation
    • Documentation
  • Getting Started
    • InstaTweet Profiles
    • Profile Settings
      • Mandatory Settings
      • Mandatory Settings with Default Values
      • Entirely Optional Settings
    • Creating a Profile
    • Populating the Page Map
      • The Page Map
      • Adding Pages
      • Adding Hashtags
      • Page Map Access Methods
    • Saving a Profile
      • Example: Save a Profile
    • Running a Profile
  • Schedule InstaTweet

Documentation

  • InstaTweet Package
    • The InstaTweet class
      • InstaTweet
        • InstaTweet.__init__()
        • InstaTweet.load()
        • InstaTweet.get_proxies()
        • InstaTweet.get_insta_client()
        • InstaTweet.get_tweet_client()
        • InstaTweet.start()
        • InstaTweet.get_new_posts()
    • The Profile class
      • Profile
        • Profile.PAGE_MAPPING
        • Profile.LOCAL_DIR
        • Profile.__init__()
        • Profile.user_agent
        • Profile.proxy_key
        • Profile.page_map
        • Profile.load()
        • Profile.from_json()
        • Profile.from_dict()
        • Profile.profile_exists()
        • Profile.get_local_path()
        • Profile.add_pages()
        • Profile.add_hashtags()
        • Profile.save()
        • Profile.validate()
        • Profile.to_pickle()
        • Profile.to_json()
        • Profile.to_dict()
        • Profile.view_config()
        • Profile.config
        • Profile.exists
        • Profile.is_default
        • Profile.profile_path
        • Profile.get_page()
        • Profile.get_scraped_from()
        • Profile.get_tweets_for()
        • Profile.get_hashtags_for()
        • Profile.local
        • Profile.name
        • Profile.session_id
        • Profile.twitter_keys
    • The db module
      • DATABASE_URL
      • Profiles
        • Profiles.name
        • Profiles.config
      • DBConnection
        • DBConnection.SESSION
        • DBConnection.ENGINE
        • DBConnection.connect()
        • DBConnection.query_profile()
        • DBConnection.load_profile()
        • DBConnection.save_profile()
        • DBConnection.delete_profile()
    • The TweetClient class
      • TweetClient
        • TweetClient.MAX_HASHTAGS
        • TweetClient.DEFAULT_KEYS
        • TweetClient.__init__()
        • TweetClient.get_api()
        • TweetClient.get_oauth()
        • TweetClient.send_tweet()
        • TweetClient.upload_media()
        • TweetClient.build_tweet()
        • TweetClient.pick_hashtags()
    • The InstaClient class
      • USER_AGENT
      • InstaClient.DOWNLOAD_DIR
      • InstaClient
        • InstaClient.__init__()
        • InstaClient.request()
        • InstaClient.scrape()
        • InstaClient.get_hashtag()
        • InstaClient.get_user()
        • InstaClient.get_post()
        • InstaClient.get_username()
        • InstaClient.download_post()
        • InstaClient.headers
        • InstaClient.cookies
    • The InstaPage module
      • InstaPage
        • InstaPage.__init__()
        • InstaPage.name
        • InstaPage.page_data
        • InstaPage.media_data
        • InstaPage.id
        • InstaPage.posts
        • InstaPage.get_more_posts()
        • InstaPage.has_more_posts
        • InstaPage.end_cursor
        • InstaPage.media_page_info
      • InstaUser
        • InstaUser.__init__()
        • InstaUser.name
        • InstaUser.page_data
        • InstaUser.media_data
      • Hashtag
        • Hashtag.__init__()
        • Hashtag.name
        • Hashtag.page_data
        • Hashtag.media_data
        • Hashtag.top_posts
        • Hashtag.top_media_data
    • The InstaPost class
      • InstaPost
        • InstaPost.__init__()
        • InstaPost.json
        • InstaPost.id
        • InstaPost.filepath
        • InstaPost.tweet_data
        • InstaPost.children
        • InstaPost.permalink
        • InstaPost.shortcode
        • InstaPost.caption
        • InstaPost.likes
        • InstaPost.media_url
        • InstaPost.thumbnail_url
        • InstaPost.is_downloaded
        • InstaPost.is_carousel
        • InstaPost.filename
        • InstaPost.filetype
        • InstaPost.owner
        • InstaPost.timestamp
        • InstaPost.add_tweet_data()
    • The utils module
      • get_agents()
      • get_agent()
      • get_proxies()
      • get_root()
      • get_filepath()

Snippets

  • InstaTweet Snippets
    • About the Page Map
    • Persisting The DBConnection
    • Running a Profile
    • Saving a Profile
      • Example: Save a Profile
    • Schedule InstaTweet
    • Other Use Case: The InstaClient

Extras

  • Table of Contents
InstaTweet
  • InstaTweet Snippets
  • Edit on GitHub
Previous Next

InstaTweet Snippets

  • About the Page Map
  • Persisting The DBConnection
  • Running a Profile
  • Saving a Profile
    • Example: Save a Profile
  • Schedule InstaTweet
  • Other Use Case: The InstaClient
Previous Next

© Copyright 2022, Adam Korn.

Built with Sphinx using a theme provided by Read the Docs.