Skip to content

All recipes ​

Find the page for the thing you want to do. This page holds no code: each row names the page that does, and the method it centres on.

I want to…PageMethod
Install and run a first programYour first programAndroidIgpapi.install, launch
Log in, with two-factorLog inlogIn, totpCodeOf
Keep a session between runsKeep a sessioncheckpoint(), launch({ checkpoint })
Bring an account from another systemBring an account from another systemlaunch({ snapshot })
Get an SMS or an email code during a runCodes that arrive during the runreadCode
Answer a challengeChallenges: answer them once with otherwisedefineOtherwise
Register an accountCreate an accountcreateNewAccount(), agree()
Recover an accountAccount recoveryrecoverPassword(), logInWithCode()
Open a profile by usernameProfilesopenProfileByUsername
Follow an accountProfilesfollow()
Like or unlike a post, comment, repostLikes, reposts and commentslike(), comment(), repost()
Like a Reel, watch ReelsReelsswipeToNext(), like()
Read the home feedHome feeditems, swipeToNext()
Send a direct message to a usernameDirectopenNewMessage(), sendMessage()
Create a group chatThe recipient pickerstartGroupChat(), createGroup()
Read the inbox, reply in a conversationThe inbox, A conversationthreads, sendMessage()
Publish a photo, a carousel or a videoA postopenCreation('post'), share()
Publish a Reel, with a songA Reel, MusicopenCreation('reel'), share()
Publish a story, with a songA storyopenCreation('story'), shareToYourStory()
Add co-authors to a postA postshare({ coauthors })
Mention users in a storyMention users in a storyMediaAddMentionedUser
Change the bio, the username or the linksProfileschangeBio(), changeUsername(), addLink()
Turn on the authenticator appTurn on the authenticator appGenerateTwoFactorTotpKey, EnableTotpTwoFactor
Compute a two-factor codeThe authenticator codetotpCodeOf
Change who can message the accountMessage controlsSettingsPrivacyMessagesSet
Read followers or followingListsfollowersFeed
Use a proxyProxy, network and locationproxy
Force HTTP/3Connection protocol: HTTP/2 and HTTP/3protocolMode: 'http3'
Understand an errorErrorsEffect.catchTags

The pages of this site are the README files of the repository. The API reference is generated from the source.