# Posting Content

### Post Single Image

```typescript
const mediaId = await instagram.postImage(
  'https://example.com/image.jpg',
  'Check out this amazing view! #travel #photography',
  'LOCATION_ID' // optional
);
```

### Post Video

```typescript
const videoId = await instagram.postVideo(
  'https://example.com/video.mp4',
  'My latest adventure! #video #adventure'
);
```

### Post Carousel (Multiple Images)

```typescript
const carouselId = await instagram.postCarousel(
  [
    'https://example.com/image1.jpg',
    'https://example.com/image2.jpg',
    'https://example.com/image3.jpg'
  ],
  'Amazing collection! #carousel #photos'
);
```

### Post Instagram Story

```typescript
// Image story
const storyId = await instagram.postStory(
  'https://example.com/story.jpg',
  'IMAGE'
);

// Video story
const videoStoryId = await instagram.postStory(
  'https://example.com/story.mp4',
  'VIDEO'
);
```

### Post with User Tags

```typescript
const containerId = await instagram.createMediaContainer(
  'https://example.com/image.jpg',
  'Great times with friends!',
  'LOCATION_ID',
  [
    { username: 'friend1', x: 0.5, y: 0.5 },
    { username: 'friend2', x: 0.3, y: 0.7 }
  ]
);

const mediaId = await instagram.publishMedia(containerId);
```