I know in many of the apps I’ve built I’ve wanted to incorporate social media links and I’m assuming many of you probably want to do the same:)
Please find the steps listed below to do so and I’m also attaching an .aia that you can directly use to make it easier!
Step 1: Create buttons and upload buttons for each of the social media link you would like to add.
Step 2: For each social media button created, drag an “ActivityStarter” from the ‘Connectivity’ section of the pallet on the left side of the screen.
Step 3: In the Blocks portion of your app put the following blocks together:
- When “_button.click
- Set _ActivityStarter.action to “android.intent.action.VIEW”
- Set _ActivityStarter.DataURL to each of the following below depending what social media link you are trying to use. In these examples I am linking to thunkable for each social media link.
- Call _activitystart.StartActivity
To make this clearer, I am attaching two images of what the designer view and blocks view look like for this to work - or you can download and use this .aia directly!
**Social_Media_Links.aia (165.7 KB)