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

# viewProfile

> View a Farcaster profile

Opens a Farcaster user's profile in the client.

<img src="https://mintcdn.com/neynar/Uxa-Ieom0HVNjtON/miniapps/view_profile_preview.png?fit=max&auto=format&n=Uxa-Ieom0HVNjtON&q=85&s=be4e446fa1c9b11bf14433f11c8b0835" alt="viewing a profile" width="1756" height="1194" data-path="miniapps/view_profile_preview.png" />

*Viewing a user's profile from a Mini App.*

## Usage

```ts theme={"system"}
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`
