dachcom-digital / social-data-twitter-connector
Pimcore 社交数据 Twitter 连接器
v3.0.0
2023-11-07 11:17 UTC
Requires
- abraham/twitteroauth: ^3.2
- dachcom-digital/social-data: ^3.0
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
此连接器允许您从 Twitter (API v2) 获取社交帖子。
发布计划
安装
"require" : { "dachcom-digital/social-data" : "~3.0.0", "dachcom-digital/social-data-twitter-connector" : "~3.0.0" }
将包添加到 bundles.php
return [ SocialData\Connector\Twitter\SocialDataTwitterConnectorBundle::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: twitter
Twitter 后台
设置 Twitter 应用的一些提示
- 通过 https://developer.twitter.com 创建项目
- 在
访问令牌和密钥
部分的密钥和令牌
生成密钥
连接器配置
现在返回后台(系统
=> 社交数据
=> 连接器配置
)并查看 Twitter 选项卡。
- 点击
安装
- 点击
启用
连接
填写连接器配置字段后,Twitter 会自动连接。
源配置
版权和许可
版权: DACHCOM.DIGITAL
有关许可详情,请访问 LICENSE.md
升级信息
在更新之前,请 检查我们的升级说明!