Skip to main content
Opens a Farcaster user’s profile in the client. viewing a profile 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