# Post Detail Page

<figure><img src="/files/m4kpagl6pFyXS3sbKsnq" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Reply feature is coming soon.
{% endhint %}

### Features

| Feature                                                                                     | Description                                                                                                                                    |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| Post content                                                                                | View content of the post including reactions and comments.                                                                                     |
| Edit post                                                                                   | Navigate to [Post Edit page](/social-plus-uikit/uikit-3/ios/community/components/post-edit.md)                                                 |
| Delete post                                                                                 | Tap **...** and select **Delete post**. Tap **Delete** in the confirmation message to confirm post deletion. Otherwise, tap **Cancel**.        |
| Report post                                                                                 | Tap **...** and tap **Report** or **Undo Report** to report or undo report respectively.                                                       |
| [Comment creation](/social-plus-uikit/uikit-3/ios/community/components/comment-creation.md) | Create a comment by adding text to the compose bar and tapping Post                                                                            |
| Edit comment                                                                                | Will navigate to [Comment Edit page](/social-plus-uikit/uikit-3/ios/community/components/comment-edit-page.md)                                 |
| Delete comment                                                                              | Tap **...** below the comment and tap **Delete comment.** Tap Delete in the confirmation message to confirm deletion. Otherwise, press Cancel. |

### How to use

**Create a view controller**

```swift
let viewController = AmityPostDetailViewController.make(withPostId: "POST_ID")
```

## Link Preview in Post

The Link Preview feature in posts is designed to enrich user experience by providing a visual and informative preview of external links. This feature enhances content sharing, making it more interactive and engaging. This feature significantly improves the user's posting experience. It allows for a preliminary check of the link's accuracy and relevance, adding visual appeal to the post with an informative preview.

When a user includes a link in a post, the feature automatically extracts and displays key information: the title, main image, and a short description, creating an informative preview of the linked content. If the link is unavailable, it will show a empty placeholder or error view instead.

<figure><img src="/files/B2z63MyM0xtmS5tJYPge" alt=""><figcaption></figcaption></figure>

#### **Editing Capability**

Users can edit the link preview even after the post is created. This flexibility ensures that the information remains up-to-date and accurate, enhancing the overall quality of the post.

#### **Limitations and Use Cases**:&#x20;

The preview feature is designed to only display images, titles, and descriptions after a post is created. This ensures clarity and relevance in the shared content.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.social.plus/social-plus-uikit/uikit-3/ios/community/components/post-detail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
