This changelog refers to changes made for the Instagram APIs.
scope
valuesApplies 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.
Components of this new Instagram API:
graph.instagram.com
instagram_business_basic
instagram_business_content_publishing
instagram_business_manage_comments
instagram_business_manage_messages
Visit our migration guide to learn if this new Instagram API with Instagram Login is right for you.
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.
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:
GET /{ig-user-id}/insights
engaged_audience_demographics
reached_audience_demographics
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.
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.
Applies to all versions.
Instagram Product Tagging API for Reels is made available. You can tag up to 30 products when publishing a reel.
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.
Se aplica a todas las versiones.
Se ha eliminado la documentación para desarrolladores de la API heredada de Instagram y ahora redirige a la documentación para desarrolladores de la plataforma de Instagram.
Se aplica a todas las versiones.
Ahora puedes crear y administrar etiquetas de productos de compras en Instagram en el contenido multimedia publicado de una cuenta empresarial de Instagram. Consulta la guía Etiquetado de productos para obtener más información al respecto.
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.
Se aplica a todas las versiones.
Ahora puedes usar la API de Instagram para realizar publicaciones que contengan varios vídeos e imágenes (publicaciones por secuencia). En la guía Publicación de contenido, puedes consultar todos los pasos necesarios para realizar la publicación.
Si ya se han aprobado los permisos de tu aplicación que se necesitan para la publicación de contenido, no es necesario volver a someterla a la revisión de la aplicación para aprovechar esta funcionalidad.
Se aplica a todas las versiones.
Ahora puedes utilizar la API de Instagram para obtener el contenido multimedia de Instagram de vídeo en directo que transmiten los usuarios de tu aplicación, obtener comentarios sobre dichos vídeos y utilizar la API de mensajes de Instagram para enviar respuestas privadas (mensajes directos) a los autores de los comentarios. Para admitir esta funcionalidad, se han llevado a cabo los cambios siguientes:
media
en un comentario de Instagram ahora devuelve un objeto que contiene el identificador (id
) y la ubicación publicada (media_product_type
) del contenido multimedia sobre el que se ha realizado el comentario.live_comments
de Webhooks de Instagram puede enviar notificaciones que contengan comentarios en directo realizados sobre los vídeos en directo de los usuarios de la aplicación mientras se transmiten.Consulta la documentación de respuestas privadas de la API de mensajes de Instagram para obtener información sobre cómo enviar respuestas privadas a los usuarios que han comentado el contenido multimedia de vídeo en directo de los usuarios de la aplicación.
Se aplica a todas las versiones.
Se han añadido dos nuevos campos a los comentarios de Instagram:
from
: devuelve un objeto que contiene el IGSID (id
) y el nombre de usuario (username
) del autor del comentario.parent_id
: devuelve el identificador del comentario principal de Instagram si el comentario se creó en otro comentario de Instagram (es decir, es una respuesta a otro comentario).Se aplica a todas las versiones.
El campocomments
de Webhooks de Instagram ahora incluye las siguientes propiedades en el objeto de campo value
:
from.id
: IGSID del usuario de Instagram que creó el comentario.from.username
: nombre del usuario de Instagram que creó el comentario.media.id
: identificador del contenido multimedia de Instagram en el que se realizó el comentario.media.media_product_type
: interfaz (ubicación publicada) del contenido multimedia de Instagram en el que se realizó el comentario.parent_id
: identificador del comentario principal de Instagram si el comentario se creó en otro comentario de Instagram (es decir, es una respuesta a otro comentario).Los siguientes cambios se aplican a los vídeos de Instagram TV creados a partir del 5 de octubre de 2021. Los vídeos de Instagram TV creados antes de esta fecha están exentos de estos cambios.
video_title
no se devolverá.El 3 de enero de 2022, los cambios anteriores se aplicarán a todas las versiones de la API y a todos los vídeos de Instagram TV, independientemente de la fecha de creación del vídeo. Esto significa que, a partir del 3 de enero de 2022, las aplicaciones que utilicen versiones más antiguas de la API podrán enviar consultas a vídeos de Instagram TV (la compatibilidad de lectura se introdujo en la versión 10.0 y se limita a la versión 10.0 y las posteriores).
A partir de la versión 14.0, el campo video_title
ya no se admitirá y la API devolverá un error si se solicita.
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.
Applies to v11.0+.
Added since
and until
parameters to the GET /{ig-user-id}/media
endpoint to support time-based pagination.
Si consultas un contenido multimedia de Instagram indirectamente a través de otro extremo, ahora el campo like_count devolverá un valor igual a 0
si el usuario de la aplicación no es el propietario de dicho contenido y el propietario ha ocultado su recuento de Me gusta. El propietario del contenido multimedia de Instagram es el único que puede consultarlo directamente. Al hacerlo, se devolverá el recuento real de Me gusta, aunque el propietario haya ocultado este recuento para el contenido.
Hicimos un pequeño cambio en la forma en que calculamos el resultado online_followers
de los usuarios de IG.
Las interacciones con el contenido multimedia de las historias de Instagram que realizan los usuarios de Japón ya no se incluyen en algunos cálculos del resultado replies
.
replies
ahora devolverá el valor 0
.replies
devolverá el número de respuestas, pero no se incluirán en el cálculo las respuestas de los usuarios que se encuentren en Japón.Fixed a minor bug with reach metrics on story IG Media.
status
de un contenedor de IG ahora devuelve un subcódigo de error si el valor del campo error_code
del contenedor es ERROR
.video_views
de estadísticas de contenido multimedia de IG ahora admiten álbumes y devolverán la suma de video_views
de todos los vídeos del álbum, en lugar de 0
.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.
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.
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:
replies
metric will now return a value of 0
.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.
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.timestamp
field on IG Media returned by GET /{ig-hashtag-id}/top_media
and GET /{ig-hashtag-id}/recent_media
Hashtag Search queries. For example: GET /{ig-hashtag-id}/top_media?fields=timestamp
.story_insights
field now requires the instagram_manage_insights
permission instead of instagram_manage_comments
.#spooky
!/{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. /{ig-media-id}
node — You can now use field expansion to get the permalink
field on media objects./{ig-comment-id}
node:
username
field.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:
username
field.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.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
timestamp
field on the /{ig-media-id}
node is now a public field and can be returned via field expansion./{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./{ig-user-id}/media
edge. #crazywildebeest
FTW!