# Analyze Twitter Text Sentiment

**Use case:** 

Submit Twitter post text. Each line gets a positive, negative, or neutral label, a confidence value, and a sentiment summary.

## Input

```json
{
  "text": "This update is amazing and solved the problem quickly!"
}
```

## Output

```json
{
  "lineCount": {
    "label": "Line count",
    "format": "integer"
  },
  "sentimentDistribution": {
    "label": "Sentiment distribution",
    "format": "object"
  },
  "lines": {
    "label": "Line results",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Text Sentiment Analysis](https://apify.com/maximedupre/text-sentiment-analysis) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/text-sentiment-analysis) to learn more, explore other use cases, and run it yourself.