Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Instagram Reels have an API for developers?

I cannot find an Instagram Reels related API. Does anyone know if there is one or if there will be one?

Currently the Facebook developer documentation does not mention anything about Instagram Reels. https://developers.facebook.com/docs/instagram-api/overview/

like image 323
monty_lennie Avatar asked Aug 07 '20 17:08

monty_lennie


People also ask

How do I get an Instagram API reel?

Reels will become automatically available for developers who already have access to the applicable APIs. You will not need to put your app through additional App Review, as long as your app has already been approved for the appropriate permission access levels.

Does Instagram have a developer API?

The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API is intended for non-Business and non-Creator Instagram users.

Can you access Instagram API?

In 2018, Instagram shut down its public API. Meaning, third-party apps can no longer access the API from Instagram without permission. Third-party apps now need to be approved by Instagram before they can access the API.

What we can do with Instagram API?

The API can be used to get and publish their media, manage and reply to comments on their media, identify media where they have been @mentioned by other Instagram users, find hashtagged media, and get basic metadata and metrics about other Instagram Businesses and Creators.


4 Answers

UPDATED ANSWER:

Reels are now supported via the API; it became generally available on July 6, 2022. Please see https://developers.facebook.com/blog/post/2022/06/27/introducing-reels-apis-to-instagram-platform/.


ORIGINAL ANSWER:

In the Instagram API docs, under Limitations, it currently says "Reels are not supported."

like image 173
sethpollack Avatar answered Oct 28 '22 18:10

sethpollack


Reels it is IG Media with type "VIDEO". And you can fetch single "Reels" if you know his Facebook Media ID (It is not Media ID from instagram)

If reels published like stories you can get media's list from stories endpoint(GET graph.facebook.com/{ig-user-id}/stories). You will get array of medias' ids.

  "data": [
    {
      "id": "{ig-media-id}"
    },
  ...
  ]
}

Then you can fetch information from single media object endpoint (GET /{ig-media-id})

So at current moment you can get reels by api only if they published like story.

Anyway reels is not supported in some countries and you can see reels only from stories in this countries.

UPDATE

Reels also available when you fetch user media from business-discovery(GET {ig-user-id}?fields=business_discovery.username(instagramm_user_name){media{id,permalink,media_type,media_url}} ) or user media (GET /{ig-user-id}/media).

If media's permalink look likes https://www.instagram.com/reel/... and media_type VIDEO then is it reels.

like image 44
Eugene K Avatar answered Oct 28 '22 18:10

Eugene K


Not sure, but I did some digging around an Instagram .ipa file and found these url scheme parameters.

instagram://reels_home
instagram://reels_share

Both of which if clicked on ios will take you to the reels feed. My intentions are to open the reels camera (or the story camera with the mode set to reels), but i guess currently we can only access the reels feed.

like image 1
SpaghettiCoder Avatar answered Oct 28 '22 17:10

SpaghettiCoder


It seems they were included in the GET /{ig-user-id}/media and the GET {ig-user-id}?fields=business_discovery.username(instagramm_user_name) endpoints at the beginning but they removed them later. According to the docs they are not supported at the moment. Further confirmed in this bug report. It seems it is not the first time they include nodes that are not supposed to be included (IGTV and now reels).

like image 1
Luicebch Avatar answered Oct 28 '22 19:10

Luicebch