文档已更新。
中文(简体) 译文尚未完成。
英语更新时间:9月12日
中文(简体) 更新时间:8月9日

Changelog for Instagram Platform

This changelog refers to changes made for the Instagram APIs.

Related Changelogs

September 17, 2024

New scope values

Applies to all versions.

To ensure consistency between scope values and permission names, we are introducing new scope values for the Instagram API with Instagram login. The new scope values are:

  • instagram_business_basic
  • instagram_business_content_publishing
  • instagram_business_manage_comments
  • instagram_business_manage_messages

These will replace the existing business_basic, business_content_publishing, business_manage_comments and business_manage_messages values, respectively.

Please note that the old scope values will be deprecated on December 17, 2024. It is essential to update your code before this date to avoid any disruption in your app's functionality. Failure to do so will result in your app being unable to call the Instagram endpoints.

July 23, 2024

Launch of the new Instagram API with Instagram Login

Components of this new Instagram API:

  • A Facebook Page will no longer be required
  • The host URL for API calls is graph.instagram.com
  • New permissions for this API:
    • instagram_business_basic
    • instagram_business_content_publishing
    • instagram_business_manage_comments
    • instagram_business_manage_messages
  • The Messenger API will no longer be used to send Instagram messages
  • New apps will add the new Instagram product when creating a Meta app
  • Existing apps can add the new Instagram product in the App Dashboard

Visit our migration guide to learn if this new Instagram API with Instagram Login is right for you.

June 11, 2024

Instagram Comment Webhooks

Applies to all versions.

In addition to the ad_id and ad_title, the original_media_id will be returned in the media object of the comments field's value object when a person comments on a boosted Instagram post or Instagram ads post. For more information, refer to Set Up Webhooks for Instagram.

May 21, 2024

Instagram User Insights

Applies to v20.0+. Will apply to all versions on August 19, 2024.

The last_14_days, last_30_days, last_90_days and prev_month timeframes will no longer be supported for the reached_audience_demographics and engaged_audience_demographics metrics.

The following endpoints and metrics are affected:

September 12, 2023

Deprecation of Media and User Insights

Applies to v18.0+. Will apply to all versions on December 11, 2023.

Duplicative and legacy Instagram insight metrics are being deprecated. Please see documentation for the endpoints and Instagram Insights for more information on which metrics to use in their place.

The following endpoints and metrics are affected:

  • GET /{ig-user-id}/insights
    • AUDIENCE_GENDER_AGE
    • AUDIENCE_LOCALE
    • AUDIENCE_COUNTRY
    • AUDIENCE_CITY
  • GET /{ig-media-id}/insights
    • CAROUSEL_ALBUM_IMPRESSIONS
    • CAROUSEL_ALBUM_REACH
    • CAROUSEL_ALBUM_ENGAGEMENT
    • CAROUSEL_ALBUM_SAVED
    • CAROUSEL_ALBUM_VIDEO_VIEWS
    • TAPS_FORWARD
    • TAPS_BACK
    • EXITS
    • ENGAGEMENT

Note: total_interactions, which is listed as an alternative for some of the deprecated metrics, is currently only available using version 18.0 and does not work with older versions. When querying older versions before Dec 11, 2023, please use the engagement metric.total_interactions, which is listed as an alternative for some of the deprecated metrics, is currently only available using version 18.0 and does not work with older versions. When querying older versions before Dec 11, 2023, please use the engagement metric.

November 9, 2022

Instagram Webhooks

Applies to all versions.

The ad_id and ad_title will be returned in the media object of the comments field's value object when a person comments on a boosted Instagram post or Instagram ads post.

October 31st

Reels – Product Tags

Applies to all versions.

Instagram Product Tagging API for Reels is made available. You can tag up to 30 products when publishing a reel.

June 28, 2022

Reels

Applies to all versions.

Reels are now supported. To publish a video as a reel, set the media_type parameter to REELS when creating a single media post container. Refer to the POST /ig-user/media endpoint reference to learn which parameters can be used with reels as well as requirements for reels videos.

Note: Beginning November 9, 2023, the VIDEO value for media_type will no longer be supported. Use the REELS media type to publish a video to your feed.

June 27, 2022

旧版 Instagram API 文档

适用于所有版本。

旧版 Instagram API 开发者文档已被移除,现将跳转到 Instagram 开放平台开发者文档。

June 20, 2022

商品标记

适用于所有版本。

现在您可以在 Instagram 业务帐户的已发布媒体上创建和管理 Instagram 购物商品标记。请参阅商品标记指南,了解具体方法。

May 27, 2022

Product Variants

Applies to all versions.

For partners in the Product Tagging beta, all product variants that match a query's search criteria will now be returned when searching a catalog for products.

March 15, 2022

轮播帖子

适用于所有版本。

您现在可以使用 Instagram API 发布包含多张图片和多段视频的帖子(轮播帖子)。请参阅内容发布指南,查看完整的发布步骤。

如果您的应用已获准使用发布内容所需的权限,则无需再通过应用审核即可使用此功能。

November 9, 2021

直播视频

适用于所有版本。

您现在可以使用 Instagram API 获取应用用户正在直播的直播视频 Instagram 媒体、获取视频评论,并可使用 Instagram Messaging API 向评论作者发送私信回复(Direct 消息)。为支持此功能,已进行以下更改:

  • 系统发出请求时,全新 GET /ig-user/live_media 连线可以返回您的应用用户正在直播的直播视频 Instagram 媒体
  • Instagram 评论media 字段现在会返回一个对象,其中包含受到评论的媒体的编号 (id) 及发布位置 (media_product_type)
  • 在您的应用用户的直播视频正在播放时,全新 live_comments Instagram Webhooks 字段可以发送包含实时评论的通知

请参考 Instagram Messaging API 私信回复文档,了解如何向对您的应用用户直播视频 Instagram 媒体发表评论的用户发送私信回复

October 20, 2021

Instagram 评论

适用于所有版本。

两个新字段已添加到 Instagram 评论

  • from — 返回对象包括评论创作者的 IGSID (id) 和帐号 (username)。
  • parent_id — 如果该评论以另一条 Instagram 评论为基础进行创建(即对另一条评论的回复),则返回父 Instagram 评论编号。

Instagram Webhooks

适用于所有版本。

comments Instagram Webhooks 字段现在在 value 字段对象中包含以下属性:

  • from.id — 创建评论的 Instagram 用户的 IGSID
  • from.username — 创建评论的 Instagram 用户的帐号
  • media.id — 受到评论的 Instagram 媒体的编号。
  • media.media_product_type — 受到评论的 Instagram 媒体平台(发表位置)。
  • parent_id — 如果该评论以另一条 Instagram 评论为基础进行创建(即对另一条评论的回复),则为父 Instagram 评论编号。

October 5, 2021

以下更改适用于 2021 年 10 月 5 日或之后创建的 Instagram TV 视频。在此日期之前创建的 Instagram TV 视频不受这些更改的影响。

  • media_product_type字段将返回 FEED,而不是 IGTV
  • 系统将不会返回 video_title字段
  • 现已支持 Instagram Webhookscommentsmentions 字段

2022 年 1 月 3 日,上述更改将适用于所有 API 版本和所有 Instagram TV 视频(适用于任意创建日期的视频)。这意味着从 2022 年 1 月 3 日开始,使用旧 API 版本的应用将能够查询 Instagram TV 视频(读取支持在 v10.0 中引入,仅限于 v10.0 及以上版本)。

从 14.0 版本起,将不再支持 video_title 字段。如果请求该字段,API 将抛出错误。

June 8, 2021

Like Counts

Applies to v11.0+. Will apply to all versions September 7, 2021.

If indirectly querying an IG Media through another endpoint or field expansion, the like_count field will be omitted from API responses if the media owner has hidden like counts on it. Directly querying the IG Media (which can only be done by the IG Media owner) will return the actual like count, however, even if like counts have been hidden.


Time-based Pagination

Applies to v11.0+.

Added since and until parameters to the GET /{ig-user-id}/media endpoint to support time-based pagination.

May 26, 2021

如果应用用户不是媒体所有者并且媒体所有者已隐藏获赞数,则通过另一个端点间接查询 Instagram 媒体,like_count 字段现在会返回 0。若是直接查询 Instagram 媒体(只能由 Instagram 媒体所有者进行),则即使所有者已隐藏获赞数,系统仍会返回实际的获赞数。

May 4, 2021

对 Instagram 用户 online_followers 指标的计算方式做出了一些微小的更改。

April 14, 2021

日本用户的快拍 Instagram 媒体互动不再包含在有些 replies 指标的计算中:

  • 对于日本用户创作的快拍,replies 指标现在将返回 0 值。
  • 对于日本以外地区的用户创作的快拍,replies 指标将返回回复次数,但计算结果中不会包含日本用户作出的回复。

April 12, 2021

Fixed a minor bug with reach metrics on story IG Media.

April 9, 2021

March 16, 2021

IGTV media is now supported in v10.0+. This applies to all endpoints except those used for content publishing and webhooks. To support this change, new media_product_type and video_title fields have been added to the IG Media node. IGTV media must have been shared to Instagram at the time of publish (Post a Preview or Share Preview to Feed enabled) in order to be accessible via the API.

Januray 26, 2021

The Content Publishing beta has ended and all developers can now publish media on Instagram Professional accounts. Refer to the Content Publishing guide for usage details.

December 2, 2020

In compliance with the European Union's ePrivacy Directive, messaging-related Story IG Media interactions performed by users in the European Economic Area (EEA) after December 1, 2020, will no longer be included in some metric calculations:

  • For Stories created by users in the EEA, the replies metric will now return a value of 0.
  • For Stories created by users outside the EEA, the replies metric will return the number of replies, but replies made my users in the EEA will not be included in its calculation.

This change applies to all versions.

November 10, 2020

  • IG User Insights — The follower_count values now align more closely with their corresponding values displayed in the Instagram app. In addition, follower_count now returns a maximum of 30 days of data instead of 2 years. This change applies to v9.0+ and will apply to all versions May 9, 2021.

May 5, 2020

December 3, 2019

  • Insights — To align API behavior with Instagram app behavior, insights on IG Users are now only available on IG Users that have 100 or more followers.

August 13, 2019

  • Business Discovery — The Business Discovery API can now be used to get data about other Instagram Creator accounts.

May 22, 2019

May 9, 2019

  • Webhooks — The story_insights field now requires the instagram_manage_insights permission instead of instagram_manage_comments.

October 31, 2018

  • Hashtag Search API — You can now search for media tagged with specific hashtags by using our new Hashtag Search API. #spooky!

October 23, 2018

  • /{ig-media-id}/comments edge — GET requests made using API version 3.1 or older will have results returned in chronological order. Requests made using version 3.2+ will have results returned in reverse chronological order.

June 7, 2018

  • /{ig-media-id} node — You can now use field expansion to get the permalink field on media objects.

May 1, 2018

  • Business Verification — In order to use the Instagram Graph API, all apps must undergo Business Verification, which is part of the App Review process and now required for all Instagram Graph API endpoints. Apps previously reviewed before May 1st, 2018, have to be reviewed again, and have until August 1st, 2018 to do so, or lose access to the API.

April 24, 2018

  • /{ig-comment-id} node:
    • Added a new username field.
    • For GET requests, the user field will not be included in responses unless the User making the request owns the Comment; instead, we will return username for all commenters. This also applies to queries on Comments made through other APIs, such as the Mentions API.
  • /{ig-media-id} node:
    • Added a new username field.
    • For GET requests, the owner field will not be included in responses unless the User making the request owns the media object; instead, we will return username for all commenters. This also applies to queries on media objects made through other APIs, such as the Mentions API.

April 23, 2018

  • Insights API — Insights will now include ad activity generated through the API, Facebook ads interfaces, and Instagram's Promote feature. This affects the following metrics:

    • impressions
    • reach

March 13, 2018

  • Content Publishing API — Beta partners can now use the /{ig-user-id}/media edge to tag locations and public Instagram users when publishing photos.

March 8, 2018

  • Public fields — The timestamp field on the /{ig-media-id} node is now a public field and can be returned via field expansion.

February 22, 2018

  • Public fields — The /{ig-user-id}, /{ig-comment-id}, and /{ig-media-id} nodes will now return all public fields when accessed through an edge via field expansion. Refer to each node's reference document to see which fields are public.

February 8, 2018

  • Content Publishing API — Beta partners can now include hashtags when publishing photos via the /{ig-user-id}/media edge. #crazywildebeest FTW!