大橙子数字 / 社交媒体数据YouTube连接器
Pimcore社交媒体数据YouTube连接器
v3.0.0
2023-11-07 11:30 UTC
Requires
- dachcom-digital/social-data: ^3.0
- google/apiclient: ^2.10
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
此连接器允许您从YouTube获取社交媒体帖子。
发布计划
安装
I. 添加依赖项
"require" : { "dachcom-digital/social-data" : "~3.0.0", "dachcom-digital/social-data-youtube-connector" : "~3.0.0", }
将包添加到 bundles.php
return [ SocialData\Connector\Youtube\SocialDataYoutubeConnectorBundle::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: youtube
YouTube后台办公室
一些设置YouTube应用的提示
- 在https://console.cloud.google.com/apis/credentials上创建API密钥
- 启用YouTube API v3: https://console.developers.google.com/apis/api/youtube.googleapis.com/overview
连接器配置
现在返回到后台(系统
=> 社交媒体数据
=> 连接器配置
)并检查YouTube选项卡。
- 点击
安装
- 点击
启用
连接
设置有效API密钥后,YouTube将自动连接。
源配置
第三方要求
要使用此连接器,此包需要一些额外的包
- google/apiclient: 需要Google API(大多数已经在PIMCORE安装中安装)
版权和许可
版权: DACHCOM.DIGITAL
有关许可详细信息,请访问LICENSE.md
升级信息
在更新之前,请检查我们的升级说明!