Fediverse miniapp reference

Host-to-app field guide

01 · sdk.connect / sdk.ready

Connect to host

Waiting


      

02 · sdk.getLaunchInfo / sdk.getContext

Read public attribution, then optional details

The card-open action already disclosed that the app receives the original public Note ID and exact app link. Reading that narrow data needs no OAuth or second prompt and does not identify you. Public text, author, and mentions require separate once-per-app consent. A boost still attributes only the original Note in v1.

Waiting for host


        
        

Waiting for host


      

03 · sdk.requestAuth

Authorize

Waiting for host


      

04 · session API

Verify session

Waiting for authorization


      

05 · session refresh API

Refresh backend credentials

Waiting for authorization


      

06 · sdk.composeNote

Compose

Waiting for host


      

07 · notifications.requestPermission

Permission

Waiting for host


      

08 · wallet personal_sign

Wallet

Waiting for host


      

09 · sdk.openExternal

External link

Waiting for host


      

10 · sdk.close

Close host view

Waiting for host


      

11 · sdk.destroy

Destroy local channel

Waiting for host