Appearance
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… | Page | Method |
|---|---|---|
| Install and run a first program | Your first program | AndroidIgpapi.install, launch |
| Log in, with two-factor | Log in | logIn, totpCodeOf |
| Keep a session between runs | Keep a session | checkpoint(), launch({ checkpoint }) |
| Bring an account from another system | Bring an account from another system | launch({ snapshot }) |
| Get an SMS or an email code during a run | Codes that arrive during the run | readCode |
| Answer a challenge | Challenges: answer them once with otherwise | defineOtherwise |
| Register an account | Create an account | createNewAccount(), agree() |
| Recover an account | Account recovery | recoverPassword(), logInWithCode() |
| Open a profile by username | Profiles | openProfileByUsername |
| Follow an account | Profiles | follow() |
| Like or unlike a post, comment, repost | Likes, reposts and comments | like(), comment(), repost() |
| Like a Reel, watch Reels | Reels | swipeToNext(), like() |
| Read the home feed | Home feed | items, swipeToNext() |
| Send a direct message to a username | Direct | openNewMessage(), sendMessage() |
| Create a group chat | The recipient picker | startGroupChat(), createGroup() |
| Read the inbox, reply in a conversation | The inbox, A conversation | threads, sendMessage() |
| Publish a photo, a carousel or a video | A post | openCreation('post'), share() |
| Publish a Reel, with a song | A Reel, Music | openCreation('reel'), share() |
| Publish a story, with a song | A story | openCreation('story'), shareToYourStory() |
| Add co-authors to a post | A post | share({ coauthors }) |
| Mention users in a story | Mention users in a story | MediaAddMentionedUser |
| Change the bio, the username or the links | Profiles | changeBio(), changeUsername(), addLink() |
| Turn on the authenticator app | Turn on the authenticator app | GenerateTwoFactorTotpKey, EnableTotpTwoFactor |
| Compute a two-factor code | The authenticator code | totpCodeOf |
| Change who can message the account | Message controls | SettingsPrivacyMessagesSet |
| Read followers or following | Lists | followersFeed |
| Use a proxy | Proxy, network and location | proxy |
| Force HTTP/3 | Connection protocol: HTTP/2 and HTTP/3 | protocolMode: 'http3' |
| Understand an error | Errors | Effect.catchTags |