Skip to main content

Upload posts from Instagram to Wordpress using Instaloader Tool

Project description

# ig2wp Export Instagram Posts into WordPress Posts

# Requirements

  • Have WordPress Administrator Prvileges

  • Have Username/Password to Instagram Account

# Instructions

## Create a WordPress Application Password

  1. Navigate to your blog’s /wp-admin endpoint and on the left sidebar, select Users.

  2. Select a user with media and posting privilieges. Your administrator user is fine.

  3. Scroll to the bottom where it says “Application Passwords”. Add a new application password. Give it whatever name you want. Hold onto these credentials.

## Install and run the Instaloader application

  1. Visit the [Instaloader Github](https://github.com/instaloader/instaloader) for information on installation, configuration, and exececution.

  2. Upon running the application, you will have a directory containing files ending in .json.xz, .jpg, .mp4, and .txt. Make a note of this directory location. You will need it later.

## Install the IG2WP Application

Install the IG2WP python application from source. You may pip install directly from Github as shown below.

` pip install git+https://github.com/aderbique/ig2wp.git `

## Configure and Run the IG2WP Application

You have the option of specifying the parameters on each runtime, or by saving the contents to a configuration file. The -w parameter writes your variables to the config file for you.

` $ ig2wp -s https://my-wordpress-blog.com -u <your wp username> -p '<the application password you generated>' -d </path/to/instaloader/account> -want `

Example:

` $ ig2wp -s https://blog.derbique.us -u austin -p '5EC5 PpLf 5rVn Ekwe 8JWE KWEP' -d '~/instaloader/austinadventure' -w `

### Modifying the Configuration file

Simply edit the file after it’s generated

` vim ~/.ig2wp/config.ini `

# Bug Reporting

Please submit bug reports through Github

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ig2wp-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

ig2wp-0.1.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ig2wp-0.1.0.tar.gz.

File metadata

  • Download URL: ig2wp-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.46.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for ig2wp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f75dde0a4e6d5c9d2addb5aca802d1d8096e699a25e500b2eaec8eb2d7f8501b
MD5 caa23a9c546d72c5f7752d374eb527e9
BLAKE2b-256 dcc12a1036410f84ee74914cbb9d48d69af1ce8a35b2ff31b6b00e5806d56e9f

See more details on using hashes here.

File details

Details for the file ig2wp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ig2wp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.46.0 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for ig2wp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97e19d5763ab4379e089f4360b83bca83049942f6cdd15cc79035267536ff2d4
MD5 747ea8b9521a207fe035940e5e703308
BLAKE2b-256 b7844e327b98573cdf2d2a7062d9890898d6aed5ae37233658acfc241da76d43

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page