Skip to content

Instagram

The Instagram modules enable you to monitor, retrieve, or download media in your Instagram account.

Getting Started with Instagram

Prerequisites

Note

The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!

Connecting Instagram to Ibexa Connect

  1. Log in to your Ibexa Connect account, add a module from the Instagram app into an Ibexa Connect scenario.

  2. Click Add next to the Connection field.

    61d6a34060b87.gif

  3. In the Connection name field, enter a name for the connection, and click Continue.

  4. Confirm the access by clicking Allow.

    61d6a342b9f96.png

The connection has been established.

Creating Custom Connections from Instagram to Ibexa Connect

To connect to Ibexa Connect, you need to obtain a Client ID and Client Secret values by creating a custom app in your Facebook Developer account and inserting them in the Create a connection dialog in the Ibexa Connect module.

  1. Go to https://developers.facebook.com and create an account.

  2. Navigate to https://developers.facebook.com/apps.

  3. Select Consumer and click Next.

    61d6a343d5ef0.png

  4. Enter the following details and click Create App.

    Display Name Enter the app name.
    App Contact Email Enter the email address to which you want to receive any updates or communication from the Facebook team.
    Business Account - Optional Select No Business Account Selected option.
  5. Open the App, go to Settings > Basic > Add Platform.

    61d6a34551de1.png

  6. Select Website and click Next. Enter your Website URL address and click Save Changes.

  7. Click Add Product and select Instagram Basic Play.

    61d6a346d2bdd.png

  8. Click Set Up > Basic Display > Create an App.

    61d6a3486cdf3.png

  9. Enter a name for the app and click Create App.

    61d6a349d4fc8.png

  10. Enter the following details in the respective fields and click Save Changes.

    61d6a34adbafc.png

    Valid OAuth Redirect URIs Enter https://www.integromat.com/oauth/cb/instagram2
    Deauthorize Callback URL Any URL address. For example, https://www.example.com.
    Data Deletion Request URL Any URL address. For example, https://www.example.com.
  11. Click Add or Remove Instagram Testers.

    61d6a34c23657.png

  12. Add your Instagram account as a tester.

    61d6a34d30cc4.png

  13. Copy the Instagram App ID and Instagram App Secret to a safe place.

    61d6a34e38c68.png

  14. Go to Ibexa Connect and open the Instagram module's Create a connection dialog.

    61d6a34060b87.gif

  15. In the Connection name field, enter a name for the connection.

  16. In the Client ID and Client Secret field, enter the details copied in step 13 and click Continue.

  17. Confirm the access by clicking Allow.

    61d6a342b9f96.png

The connection has been established.

Media

Watch Media

Returns media details when new media is added to your Instagram profile.

Required Permissions: user_media

Limit Set the maximum number of media items Ibexa Connect should return during one execution cycle.

Get Media

Retrieves media details.

Required Permissions: user_media

Media ID Enter (map) the Media ID of the media item you want to retrieve details about.

61d6a34f46f9c.png

Get Album Media

Retrieves all media from the Instagram album.

Required Permissions: user_media

Media ID Enter (map) the Media ID of the album media that contains all the images/videos.

Download Media

Downloads a specified media.

Required Permissions: user_media

Media ID Enter (map) the Media ID of the image or video you want to download.