Content pfp
Content
@
0 reply
0 recast
0 reaction

artlu 🎩 pfp
artlu 🎩
@artlu
how are y'all doing `sdk.actions.viewProfile()` ? I'm on @farcaster/frame-sdk v0.0.24 and my compiler says the property does not exist
4 replies
0 recast
8 reactions

artlu 🎩 pfp
artlu 🎩
@artlu
upgraded to v0.0.26 (h/t @jvaleska.eth and @stephancill). this snippet works well for me (h/t @haole for helping me ensure my code is smooth on /recaster) const viewProfile = useCallback( (fid: number, username?: string) => { const profileUrl = username ? `https://warpcast.com/${username}` : `https://vasco.wtf/${fid}`; context?.client?.clientFid === 9152 // check if Warpcast ? sdk.actions.viewProfile({ fid }) : context ? sdk.actions.openUrl(profileUrl) : window.open(profileUrl, "_blank"); }, [context] );
0 reply
1 recast
2 reactions

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚  pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@jvaleska.eth
this way with this verison: "@farcaster/frame-sdk": "^0.0.26" (not sure when it was included) https://github.com/jvaleskadevs/farcaster-frames-v2-demo/blob/main/src/components/Demo.tsx#L231
1 reply
0 recast
4 reactions

Royal pfp
Royal
@royalaid.eth
cc @horsefacts.eth
0 reply
0 recast
2 reactions

FrankπŸŽ©β“‚οΈ pfp
FrankπŸŽ©β“‚οΈ
@frvnk
Good You?
0 reply
0 recast
0 reaction