Automatically Repost Content From Instagram to Twitter
Project description
Automatically Repost Content From Instagram to Twitter
Ever tried sharing an Instagram post to Twitter, only to find out that all you tweeted was a link, and not the actual photo/video?
InstaTweet shares the actual content of the post. Not just a link to it.
With InstaTweet, you can rest easy knowing that, although nobody will click the link, they’ll at least see what you posted.
What’s InstaTweet?
InstaTweet is a customizable tool to automatically repost content from Instagram to Twitter.
Simply create a Profile, configure the mandatory-settings, and add_users() to repost from
from InstaTweet import Profile
# Create a new (local) Profile
>>> profile = Profile('myProfile')
# Configure the required settings (at minimum)
>>> profile.twitter_keys = twitter_api_keys
>>> profile.session_id = '6011991A'
# Add at least one Instagram account to repost from
>>> profile.add_users('the.dailykitten')
Once configured, the Profile can be used to initialize and start() an InstaTweet object
from InstaTweet import InstaTweet
# Directly initialize with the Profile from above
>>> insta_tweet = InstaTweet(profile)
# Or, save the Profile...
>>> profile.save()
Saved Local Profile myProfile
# ...then InstaTweet.load() the settings in (by Profile name)
>>> insta_tweet = InstaTweet.load(profile_name="myProfile")
# Run InstaTweet by calling start()
>>> insta_tweet.start()
As InstaTweet runs, its progress will be logged to console:
Starting InstaTweet for Profile: myProfile
Checking posts from @the.dailykitten
...
Finished insta-tweeting for @the.dailykitten
All users have been insta-tweeted
Okay… But Why? 😟
Documentation
The rest of this README, the API documentation, and snippets can all be found on Read the Docs
I put a lot of time into creating the documentation for this package, it was a struggle, so it’d mean a lot to me if you could please continue reading there! 🥰
Installation
To install using pip:
pip install insta-tweet
Please note that InstaTweet requires Python >= 3.8
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file insta-tweet-2.1.1.tar.gz
.
File metadata
- Download URL: insta-tweet-2.1.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adca108e02d34fd2c93f8d2ff18cc0372a6238af4de1705649add7673baa9846 |
|
MD5 | e0b3c83583ecbb660733540ed45df33c |
|
BLAKE2b-256 | fa3a0c92a71d656d46d7b7d653eb6483a05559996712157516b3c2284cf7679d |
File details
Details for the file insta_tweet-2.1.1-py3.10.egg
.
File metadata
- Download URL: insta_tweet-2.1.1-py3.10.egg
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b1fbb62b8b9992befc50a24e835af7442c81212501935c58a382cf27af78ce |
|
MD5 | d44e9e42e50e2c791842e1e253e25621 |
|
BLAKE2b-256 | 80829b8761bbaf533b9951b19984dd29b97d80b059ec7217352a0edf5060bf27 |
File details
Details for the file insta_tweet-2.1.1-py3-none-any.whl
.
File metadata
- Download URL: insta_tweet-2.1.1-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93b080b5a0e622d349e3841af9486fcd0b5e5bc0e015fe10da48096299d7bf70 |
|
MD5 | d0a46cea0d06ca26a7a341811e992374 |
|
BLAKE2b-256 | d0b23327f09bcad78d6ecd35297a20696be0e5b54bb9e8090b6d84db888dfb40 |