openUrl can be used to deeplink
users into different parts of the Farcaster client they
are using.

openUrl.
Usage
Return Value
voidDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Opens an external URL
openUrl can be used to deeplink
users into different parts of the Farcaster client they
are using.

openUrl.
import { sdk } from '@farcaster/miniapp-sdk'
const url = 'https://farcaster.xyz';
// Pass URL as a string
await sdk.actions.openUrl(url)
// Or pass URL as an object
await sdk.actions.openUrl({ url: 'https://farcaster.xyz' })
voidRelated topics
SpecificationHost Farcaster Mini Apps ā OverviewopenMiniAppOpen invitesHTML & OpenGraph Metadata in Mini AppsWas this page helpful?