Instagram

Capture and share the world's moments.

Like Endpoints

  • GET /media/media-id/likes Get a list of users who have liked this media.
  • POST /media/media-id/likes Set a like on this media by the current user.
  • DEL /media/media-id/likes Remove a like on this media by the current user.

GET /media/media-id/likes

  • Response
https://api.instagram.com/v1/media/{media-id}/likes?access_token=ACCESS-TOKEN
{ "data": [{ "username": "jack", "first_name": "Jack", "last_name": "Dorsey", "type": "user", "id": "66" }, { "username": "sammyjack", "first_name": "Sammy", "last_name": "Jack", "type": "user", "id": "29648" }] } 

Get a list of users who have liked this media. Required scope Link: /developer/authentication/#scope : likes

POST /media/media-id/likes

  • Response
curl -F 'access_token=ACCESS-TOKEN' \ https://api.instagram.com/v1/media/{media-id}/likes
{ "meta": { "code": 200 }, "data": null } 

Set a like on this media by the currently authenticated user.

Requirements
Scope: likes Link: /developer/authentication/#scope
To request access to this endpoint, please complete this form Link: https://help.instagram.com/contact/185819881608116 .
Required scope Link: /developer/authentication/#scope : likes
Parameters
access_token A valid access token.

DEL /media/media-id/likes

  • Response
curl -X DELETE https://api.instagram.com/v1/media/{media-id}/likes?access_token=ACCESS-TOKEN
{ "meta": { "code": 200 }, "data": null } 

Remove a like on this media by the currently authenticated user.

Requirements
Scope: likes Link: /developer/authentication/#scope
To request access to this endpoint, please complete this form Link: https://help.instagram.com/contact/185819881608116 .
Required scope Link: /developer/authentication/#scope : likes
Parameters
access_token A valid access token.