dachcom-digital / social-data-linkedin-connector
Pimcore Social Data LinkedIn Connector
Installs: 771
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 0
Open Issues: 0
Type:pimcore-social-data-connector-bundle
Requires
Requires (Dev)
- codeception/codeception: ^5.0
- codeception/module-symfony: ^3.1
- codeception/module-webdriver: ^4.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-symfony: ^1.0
- symplify/easy-coding-standard: ^9.0
README
This Connector allows you to fetch social posts from LinkedIn.
Release Plan
Installation
"require" : { "dachcom-digital/social-data" : "~3.0.0", "dachcom-digital/social-data-linkedin-connector" : "~3.0.0" }
Add Bundle to bundles.php
:
return [ SocialData\Connector\LinkedIn\SocialDataLinkedInConnectorBundle::class => ['all' => true], ];
Install Assets
bin/console assets:install public --relative --symlink
Enable Connector
# config/packages/social_data.yaml social_data: social_post_data_class: SocialPost available_connectors: - connector_name: linkedIn
Set Cookie SameSite to Lax
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'
LinkedIn Backoffice
Some hints to set up your LinkedIn app:
- Create App via https://www.linkedin.com/developers/apps
- Add
https://YOURDOMAIN/admin/social-data/connector/linkedin/check
inAuthorized redirect URLs for your app
- Apply for verification (We wish you the best of luck!)
Connector Configuration
Now head back to the backend (System
=> Social Data
=> Connector Configuration
) and checkout the linkedIn 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
Connection
This will guide you through the linkedIn token generation. After hitting the "Connect" button, a popup will open to guide you through linkedIn 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.
Feed Configuration
Extended Connector Configuration
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: linkedIn connector_config: api_connect_permission: ['r_liteprofile', 'r_emailaddress', 'r_organization_social'] # default value
Copyright and license
Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md
Upgrade Info
Before updating, please check our upgrade notes!