> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Content

> SDK resources for content: posts, comments, media vault, stories, highlights, streams, bookmarks, and labels.

| Resource            | What it covers                                                                                                                                                                     |
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `of.posts`          | Feed, search, CRUD, pin / unpin, archive / unarchive, hide, `toggleLike`, polls (`vote`, `voters`), `paidAuthors`, `paidPinned`, `pinPaid`, `sortPaidPinned`, per-post statistics. |
| `of.posts.comments` | Comment thread for a post.                                                                                                                                                         |
| `of.comments`       | Top-level comment ops (like / unlike / delete / pin / unpin) regardless of parent type.                                                                                            |
| `of.media`          | Vault listing, vault lists, retrieve, upload, `vaultMediaPosts(mediaId)`, bulk delete.                                                                                             |
| `of.stories`        | List, retrieve, delete, like / unlike, mark-watched, blocked-viewer management, top-stories.                                                                                       |
| `of.highlights`     | Story highlights list / retrieve.                                                                                                                                                  |
| `of.streams`        | Live + scheduled streams, finish, `checkActive`, viewers, tippers, comments, tip goals, top-streams.                                                                               |
| `of.bookmarks`      | Categories CRUD, add / remove items, `categoriesForPost`, `listForPost`.                                                                                                           |
| `of.giphy`          | Search GIFs in the chat composer.                                                                                                                                                  |
| `of.labels`         | List labels (creator-side audience tags).                                                                                                                                          |

## Recipes

```ts theme={"theme":{"light":"github-light","dark":"github-dark"}}
// Home feed
const page = await of.posts.feed({ limit: 10 });

// Like a post (toggle — calling again unlikes)
const r = await of.posts.toggleLike(postId, authorUserId);
console.log(r.isFavorite, r.favoritesCount);

// Bookmarks
const cat = await of.bookmarks.addCategory("favourites");
await of.bookmarks.add(postId, cat.id);
await of.bookmarks.removeAll(postId); // remove from every category
```

<Note>
  `like()` and `unlike()` are aliases of `toggleLike()`. Many fan-side
  write actions require an age-verified account — see
  [SDK errors](/sdk/errors).
</Note>
