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.0.0b36.tar.gz
.
File metadata
- Download URL: insta-tweet-2.0.0b36.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65f99ed5dd809f657b60f973c198e755fefdf891ee30bfd200b73f64d5765df |
|
MD5 | bfd3bcd9b2308d694d15336689c270d9 |
|
BLAKE2b-256 | a93bddd0464bf9286edccb04704f82e2fac674bffe4fb58f99ff4e8799edde4c |
File details
Details for the file insta_tweet-2.0.0b36-py3.10.egg
.
File metadata
- Download URL: insta_tweet-2.0.0b36-py3.10.egg
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a78f220d1ed07fe1456c78ac7456d4f348a0c476a10562000aaeb9a670d476 |
|
MD5 | d1ced6674ce1dbf2c97f10ee8b2d179d |
|
BLAKE2b-256 | 18a7ef6b3098c48fb433787220ee59e011e71ba8f423e9c3c6efd9e3ed6dd3c5 |
File details
Details for the file insta_tweet-2.0.0b36-py3-none-any.whl
.
File metadata
- Download URL: insta_tweet-2.0.0b36-py3-none-any.whl
- Upload date:
- Size: 20.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 | 8d467e97f772688fe318510ca12696e1fb58a3d90b4673bf764622055ee135bd |
|
MD5 | 40635b059f7506ecdb4544de1583cc21 |
|
BLAKE2b-256 | 455cbc1636ec8bae2fe22a358ea99a41cfc8f8624d4d6113aebdc928456dca60 |