Skip to content

StanNieuwmans/InstagramAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstagramAPI

Package for the Instagram Business API - Python

InstagramAPI - Python Package

This package is a wrapper for the Instagram Business API. It is a simple package that allows you to post images to Instagram.

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)

Thanks to

Skolo Online Learning for this amazing article.

About

Package for the Instagram Business API - Python

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages