This Connector allows you to fetch social posts from Instagram (Currently only via basic display api).
Important
The Instagram Basic Display API has been shut down. Personal Instagram accounts are no longer supported. Therefor this extension only works with Creator or Business Instagram accounts!
Release | Supported Pimcore Versions | Supported Symfony Versions | Release Date | Maintained | Branch |
---|---|---|---|---|---|
4.x | 11.0 |
6.4 |
29.01.2025 | Feature Branch | master |
3.x | 11.0 |
6.4 |
07.11.2023 | Unsupported | 3.x |
2.x | 10.1 - 10.6 |
5.4 |
05.01.2022 | Unsupported | 2.x |
1.x | 6.0 - 6.9 |
3.4 , ^4.4 |
22.10.2020 | Unsupported | 1.x |
"require" : {
"dachcom-digital/social-data" : "~3.1.0",
"dachcom-digital/social-data-instagram-connector" : "~4.0.0"
}
If you want to use the facebook api, you also have to install the league/oauth2-facebook
extension:
"require" : {
"league/oauth2-facebook": "^2.0"
}
Add Bundle to bundles.php
:
return [
SocialData\Connector\Instagram\SocialDataInstagramConnectorBundle::class => ['all' => true],
];
bin/console assets:install public --relative --symlink
# config/packages/social_data.yaml
social_data:
social_post_data_class: SocialPost
available_connectors:
- connector_name: instagram
Otherwise, the oauth connection won't work.
If you have any hints to allow processing an oauth connection within
strict
mode, please tell us.
framework:
session:
cookie_samesite: 'lax'
Some hints to set up your instagram app
- Create Business App
- Add "Instagram" Product
- Add
https://YOURDOMAIN/admin/social-data/connector/instagram/check
inInstagram => API setup with Instagram business login => 3. Set up Instagram business login => Business login settings
- Add
- Select
Instagram API with Instagram Login
and storeInstagram app ID
andInstagram app secret
in the pimcore connector section
- Create Business App
- Select
Instagram API with Facebook Login
and storeApp-ID
andApp Secret
in the pimcore connector section - Add "Facebook Login for Business" Product
- Add
https://YOURDOMAIN/admin/social-data/connector/instagram/check
inValid OAuth Redirect URIs
in section "Settings"
- Add
Now head back to the backend (System
=> Social Data
=> Connector Configuration
) and checkout the instagram tab.
- Click on
Install
- Click on
Enable
- Before you hit the
Connect
button, you need to fill you out the Connector Configuration. After that, click "Save". - Click
Connect
This will guide you through the instagram token generation. After hitting the "Connect" button, a popup will open to guide you through instagram authentication process. If everything worked out fine, the connection setup is complete after the popup closes. Otherwise, you'll receive an error message. You may then need to repeat the connection step.
Name | Description |
---|---|
Limit |
Define a limit to restrict the amount of social posts to import (Default: 50) |
Normally you don't need to modify connector (connector_config
) configuration, so most of the time you can skip this step.
However, if you need to change some core setting of a connector, you're able to change them of course.
# config/packages/social_data.yaml
social_data:
available_connectors:
- connector_name: instagram
connector_config:
api_connect_permission_instagram_login: ['instagram_business_basic'] # default value
api_connect_permission_facebook_login: ['instagram_basic', 'pages_read_engagement', 'pages_show_list', 'business_management'] # default value
Before updating, please check our upgrade notes!
DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, [email protected]
Copyright © 2025 DACHCOM.DIGITAL. All rights reserved.
For licensing details please visit LICENSE.md