Get Started

Vetric Instagram Post Comments

Comments on Instagram post

Compatible Metadata Fields

Applicable Metadata CategoriesCompatible
SourceYes
ContentYes
AuthorYes
PersonNo
EnrichmentYes
OrganizationNo
Data source-specific fields?Yes, please see the Metadata page.

Metadata Example

{
  "data_source": "vetric_instagram_post_comments",
  "id": "18028783430313694",
  "author": {
    "userid": "10433902",
    "handle": "witchymanny",
    "name": "Manny Santiago",
    "profile_image_source": "https://scontent-mia3-2.cdninstagram.com/v/t51.2885-19/412681983_737915625035107_2553032032391286942_n.jpg?stp=dst-jpg_e0_s150x150&_nc_ht=scontent-mia3-2.cdninstagram.com&_nc_cat=107&_nc_ohc=jojHwMEWYAsQ7kNvgHEIsSB&_nc_gid=16201b5b268e40a8b98f0678031cb6fc&edm=AId3EpQBAAAA&ccb=7-5&oh=00_AYC1ZAYF0cWweWFYrAcVCjxpOMIcPh4BMEwIOEB7psvwcw&oe=66D826AE&_nc_sid=f5838a",
    "verified": false,
    "is_mentionable": true,
    "url": "https://www.instagram.com/witchymanny"
  },
  "doc_date": "2024-05-23T23:44:26.000Z",
  "content": {
    "published": "2024-05-23T23:44:26.000Z",
    "body": "See you tonight!!!",
    "likes_count": 15,
    "child_comments_count": 1,
    "related_post_id": "3374401724196409143"
  },
  "instagram": {
    "content_type": "comment"
  }
}

Data collection job creation request

Returns comments on an Instagram post. The query value is expected to be a valid Instagram Post Id.

curl --location 'https://api.platform.datastreamer.io/api/pipelines/{PIPELINE_ID}/components/{COMPONENT_ID}/jobs?ready=true' \
      --header 'apikey: <your-api-key>' \
      --header 'Content-Type: application/json' \
      --data \
        '{
			    "job_name": "my instagram data collection",
			    "data_source": "vetric_instagram_post_comments",
			    "query": {
			            "query": "3374401724196409143"
			        },
			    "job_type": "oneTime"
				}'

Make sure to replace ‘PIPELINE_ID’ and ‘COMPONENT_ID’ variables to the ones associated with your pipeline.

Including Post Comments from Other Sources

The vetric_instagram_post_comments connector can be used in conjunction with other connectors like vetric_instagram_user_reels and vetric_instagram_user_feed to include comments for the Instagram User Reel or Feed posts you collect. By specifying the include option in your query, you can retrieve comments associated with each post, providing a more comprehensive view of user interactions.

For more details, refer to the documentation for Instagram User Reels and Instagram User Feed.