Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save marchbold/45b1031ebd53c04324d1 to your computer and use it in GitHub Desktop.
Save marchbold/45b1031ebd53c04324d1 to your computer and use it in GitHub Desktop.
Launching an application with an explicit Intent to a specific Instagram user using the Share ANE
var app:Application = new Application( "com.instagram.android", "instagram://" );
var options:ApplicationOptions = new ApplicationOptions();
options.action = ApplicationOptions.ACTION_VIEW;
options.data = "http://instagram.com/_u/distriqt";
options.parameters = "user?username=distriqt";
if (Share.service.applications.isInstalled( app ))
{
Share.service.applications.launch( app, options );
}
// com.distriqt.Share
@marchbold
Copy link
Author

@crooksy88
Copy link

A useful resource of iOS URL schemes:

http://wiki.akosma.com/IPhone_URL_Schemes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment