
Meta List
CertifiedList Instagram media items
Meta List
List Instagram media items
Retrieves recent media for a professional account. Defaults to 25 items, matching the Graph API default.
type: io.kestra.plugin.meta.instagram.media.ListExamples
List latest media items
id: instagram_list_media
namespace: company.team
tasks:
- id: list_media
type: io.kestra.plugin.meta.instagram.media.List
igId: "{{ secret('INSTAGRAM_ACCOUNT_ID') }}"
accessToken: "{{ secret('INSTAGRAM_ACCESS_TOKEN') }}"
limit: 25
fields:
- ID
- MEDIA_TYPE
- MEDIA_URL
- PERMALINK
- CAPTION
Properties
accessToken *Requiredstring
Access Token
Access token with required scopes (e.g., instagram_basic, instagram_content_publish).
igId *Requiredstring
Instagram Account ID
ID of the Instagram professional account to act on.
apiVersion string
v24.0API Version
Instagram Graph API version to call. Defaults to v24.0.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch strategy
FETCH (default) returns all rows; FETCH_ONE returns the first; STORE writes rows to storage as Ion and returns the URI; NONE only counts items.
fields array
["ID","MEDIA_TYPE","MEDIA_URL","PERMALINK","THUMBNAIL_URL","TIMESTAMP","CAPTION"]IDMEDIA_TYPEMEDIA_URLPERMALINKTHUMBNAIL_URLTIMESTAMPCAPTIONUSERNAMECOMMENTS_COUNTLIKE_COUNTIS_SHARED_TO_FEEDBOOST_ADS_LISTBOOST_ELIGIBILITY_INFOIS_COMMENT_ENABLEDVIEW_COUNTFields
Fields to return for each media item (Graph field names).
host string
https://graph.facebook.comHost URL
Base Graph API URL. Defaults to https://graph.facebook.com.
limit integerstring
25Limit
Maximum media items to fetch; defaults to 25.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.