DEV Community

Cover image for Instagram URL Schemes
ahandsel
ahandsel

Posted on

7

Instagram URL Schemes

Here are the known URL schemes for Instagram that can be used to link directly to specific parts of the Instagram app. It is useful for Apple Shortcuts.

URL Scheme Description
instagram:// Open the Instagram app
instagram://settings Open the Instagram settings
instagram://direct-inbox Open direct messages
instagram://camera Open the camera or create a new post
instagram://explore Open the explore tab
instagram://user?username=[username] Open a specific user's profile
instagram://location?id=[location_id] Open a specific location
instagram://tag?name=[hashtag] Open a specific hashtag

Examples

Open the Instagram App Settings via Apple Shortcuts

  1. Use the "Text" Action to store instagram://settings in a text variable
  2. Use the "Get URLs from Input" to convert the text variable to a URL
  3. Use the "Open URLs" Action to open the URL

Apple Shortcuts: Example - Open Instagram Settings

Open a Specific User's Instagram Profile via Apple Shortcuts

  1. Use the "Ask for Input" Action to ask for a username
  2. Use the "Text" Action to store instagram://user?username= in a text variable
  3. Use the "Combine Text" Action to combine the username to the text variable:
    • Combine instagram://user?username= with the username's Provided Input with "Custom" set to `` (nothing)
  4. Use the "Get URLs from Input" to convert the "Combine Text" value to a URL
  5. Use the "Open URLs" Action to open the URL

Apple Shortcuts: Example - Open A Instagram Profile

Search for a Specific Hashtag on Instagram via Apple Shortcuts

  1. Use the "Ask for Input" Action to ask for a hashtag
  2. Use the "Text" Action to store instagram://tag?name= in a text variable
  3. Use the "Combine Text" Action to combine the hashtag to the text variable:
    • Combine instagram://tag?name= with the hashtag's Provided Input with "Custom" set to `` (nothing)
  4. Use the "Get URLs from Input" to convert the "Combine Text" value to a URL
  5. Use the "Open URLs" Action to open the URL

Apple Shortcuts: Example - Search For A Hashtag

References

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more