openExternalLinks
function. This will close your app and move to a new website.
Usage
This function requires the iFrame SDK to be initialized. See iFrame
Overview for more information.
User Profiles
If you want to display a whop user profile, you can use theopenExternalUrl
method
and pass their profile page link which looks like https://whop.com/@username
.
The whop app will intercept this and instead display a modal containing their user profile.
You can also use a user ID instead of username. The final link should look
like this:
https://whop.com/@user_XXXXXXXX