Skip to main content

Instagram

This connector captures data from Instagram into Estuary collections.

This Instagram article talks about how to connect a Facebook page to your Instagram business account.

This connector is based on an open-source connector from a third party, with modifications for performance in the Estuary system.

Supported data resources

The following data resources are supported through the Instagram APIs:

For more information, see the Instagram Graph API and Instagram Insights API documentation.

By default, each resource is mapped to an Estuary collection through a separate binding.

Prerequisites

Configuration

You configure connectors either in the Estuary web app, or by directly editing the catalog specification file. See connectors to learn more about using connectors. The values and specification sample below provide configuration details specific to the Instagram source connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/client_idClient IDThe Client ID of your Instagram developer application.stringRequired
/client_secretClient SecretThe Client Secret of your Instagram developer application.stringRequired
/access_tokenAccess TokenThe value of the access token generated with instagram_basic, instagram_manage_insights, pages_show_list, pages_read_engagement, Instagram Public Content Access permissions.stringRequired
/start_dateReplication Start DateUTC date and time in the format YYYY-MM-DDT00:00:00Z. Any data before this date will not be replicated.stringRequired

Bindings

PropertyTitleDescriptionTypeRequired/Default
/streamStreamResource of your Instagram project from which collections are captured.stringRequired
/syncModeSync ModeConnection method.stringRequired

Sample


captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-instagram:v1
config:
client_id: <your client ID>
client_secret: <secret>
access_token: <secret>
start_date: 2017-01-25T00:00:00Z
bindings:
- resource:
stream: stories
syncMode: full_refresh
target: ${PREFIX}/stories
{...}