## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.neynar.com/llms.txt)

Use this file to discover all available pages before exploring further.

Opens a Farcaster user’s profile in the client._Viewing a user’s profile from a Mini App._

## Usage

```
import { sdk } from '@farcaster/miniapp-sdk'

// View profile by FID
await sdk.actions.viewProfile({ fid: 3621 })
```

## Parameters

### fid

- **Type:**`number`

The Farcaster ID (FID) of the user whose profile you want to view.

## Return Value

`void`
