# Collect Instagram Posts for Brand Sentiment Analysis

**Use case:** 

Extract posts mentioning your brand or product hashtags to perform sentiment analysis and understand public perception. Proactively manage your brand reputation

## Input

```json
{
  "hashtags": [
    "yourbrandname",
    "yourproductfeedback"
  ],
  "maxPostsPerHashtag": 200,
  "scrapeMode": "recent",
  "minDelayBetweenRequests": 2,
  "maxDelayBetweenRequests": 5,
  "humanizeBehavior": true,
  "cookies": "[{\"name\":\"sessionid\",\"value\":\"your_session_id\",\"domain\":\".instagram.com\"}]",
  "sessionName": "my_instagram_session",
  "useGraphQLApi": true,
  "enrichPosts": true,
  "maxPostsToEnrich": 50
}
```

## Output

```json
{
  "post_id": {
    "label": "Post id"
  },
  "shortcode": {
    "label": "Shortcode"
  },
  "post_url": {
    "label": "Post url"
  },
  "username": {
    "label": "Username"
  },
  "caption": {
    "label": "Caption"
  },
  "hashtags": {
    "label": "Hashtags"
  },
  "likes_count": {
    "label": "Likes count"
  },
  "comments_count": {
    "label": "Comments count"
  },
  "media_type": {
    "label": "Media type"
  },
  "posted_date": {
    "label": "Posted date"
  },
  "is_video": {
    "label": "Is video"
  },
  "video_view_count": {
    "label": "Video view count"
  },
  "search_hashtag": {
    "label": "Search hashtag"
  }
}
```

## About this Actor

This example demonstrates how to use [Instagram Hashtag Scraper](https://apify.com/crawlerbros/instagram-hashtag-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/crawlerbros/instagram-hashtag-scraper) to learn more, explore other use cases, and run it yourself.