Skip to main content

Instagram Business API to POST content to Instagram

Project description

InstagramAPI

Package for the Instagram Business API - Python

InstagramAPI - Python Package

A small demo library for a Medium publication about publishing libraries.

Installation

pip install python-InstagramBusinessAPI

Get started

How to post an image to Instagram with this package.

from InstagramAPI.InstagramBusinessAPI import InstagramBusinessAPI

instagram_api = InstagramBusinessAPI(ig_user_id=IG_USER_ID, access_token=ACCESS_TOKEN)
img_container = instagram_api.ImageContainer("https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.pinterest.com%2Fpin%2F441563938470171685%2F&psig=AOvVaw1-BpG1NgnVMHPDpdeV6Ute&ust=1670330141317000&source=images&cd=vfe&ved=0CA8QjRxqFwoTCMDF_eW-4vsCFQAAAAAdAAAAABAE", "Test Image")
instagram_api.post_local_container_to_instagram(img_container)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_InstagramBusinessAPI-0.1.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file python_InstagramBusinessAPI-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_InstagramBusinessAPI-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6aba51868c791877ddd13b282533589cbc8bd2c404d0ae889d46a7d2cb2fc06c
MD5 14be4fd1e0f0910a64b6a6828383cf43
BLAKE2b-256 9b75c743b834c2a35a1e5375007f57a14c78bc1b807a770b24b8971a422a24c8

See more details on using hashes here.

Supported by

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