定制 xima/xima-twitter-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Install via composer

    composer require xima/xima-twitter-client
  2. Include TypoScript setup + constants

    @import 'EXT:xima_twitter_client/Configuration/TypoScript/setup.typoscript'
    
  3. Include PageTS

    @import 'EXT:xima_twitter_client/Configuration/TSconfig/page.tsconfig'
    
  4. 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

  1. Create a new SysFolder that includes the module "twitter"
  2. Add a new "Account" record inside this folder
  3. 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:

Backend Wizard preview

统计信息

  • 总下载量: 2.85k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2025-01-08