Search code examples
pythoninstagraminstagram-graph-api

How to start with the InstagramAPI in Python?


i want to play with the InstagramAPI and write some code for like getting a list of my follower and something like that. I am really new to that topic.

What is the best way to do this? Is there a Python-Lib for handle those json request or should I send them directly to the (new? graphAPI, displayAPI) InstagramAPI?

Appreciate every advice I can get. Thanks :)


Solution

  • LevPasha's Instagram-API-python, instabot, and many other API's are no longer functional as of Oct 24, 2020 after Facebook deprecated the legacy API and now has a new, authentication-required, API. It now requires registering your app with Facebook to be able to get access to many of the API features (via oembed) that were previously available without any authentication.

    See https://developers.facebook.com/docs/instagram/oembed/ for more details on the new implementation and how to migrate.

    You should still be able to get a list of your followers, etc. via the new oEmbed API and python--it will require registering the app, making a call to the new GET API with your authentication key via the python requests package, and then processing the result.