xima/xima-twitter-client
最新稳定版本:2.0.0
Composer 安装命令:
composer require xima/xima-twitter-client
包简介
Import and display tweets
README 文档
README
This extension uses the Twitter v2 API to download and display tweets.
To use the Twitter API, you need a developer account, register your application and obtain
- consumer key
- consumer secret
- api key
- api secret
Installation
-
Install via composer
composer require xima/xima-twitter-client
-
Include TypoScript setup + constants
@import 'EXT:xima_twitter_client/Configuration/TypoScript/setup.typoscript' -
Include PageTS
@import 'EXT:xima_twitter_client/Configuration/TSconfig/page.tsconfig' -
Enter the credentials in extension configuration
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['xima_twitter_client']['access_key'] = '', $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['xima_twitter_client']['access_secret'] = '', $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['xima_twitter_client']['api_key'] = '', $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['xima_twitter_client']['api_secret'] = '', $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['xima_twitter_client']['image_storage'] = '1:Images/Twitter',
Configuration
- Create a new SysFolder that includes the module "twitter"
- Add a new "Account" record inside this folder
- Enter a Twitter account name you want to fetch tweets from
Usage
To start the download, run this command:
vendor/bin/typo3cms twitter:fetchTweets
To output a Twitter feed, add the new custom content element "Twitter" to any page:
统计信息
- 总下载量: 2.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-01-08
