2017 © Pedro Peláez
 

yii2-extension yii2-twitter-api-driver

Module that enables send request to twitter api for Yii Framework 2.0.

image

madurmanov/yii2-twitter-api-driver

Module that enables send request to twitter api for Yii Framework 2.0.

  • Wednesday, November 22, 2017
  • by madurmanov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 25 % Grown

The README.md

yii2-twitter-api-driver

Module that enables send request to twitter api for Yii Framework 2.0., (*1)

Installation

composer require madurmanov/yii2-twitter-api-driver "@dev"

AccessToken

  • Create app https://apps.twitter.com
  • Set access level to 'Read and write'
  • Go to 'Keys and Access Tokens' tab and generate Access Token
  • Use generated access token and consumer information for configurate

Configuration

'modules' => [
  'TwitterApiDriver' => [
    'class' => 'madurmanov\TwitterApiDriver\Module',
    'consumerKey' => '',
    'consumerSecret' => '',
    'accessToken' => '',
    'accessTokenSecret' => ''
  ]
]

Usage

$TwitterApiDriver = Yii::$app->getModule('TwitterApiDriver');
$TwitterApiDriver->request('statuses/update', [
  'status' => ''
]);

License

yii2-twitter-api-driver is released under the MIT License. See the bundled LICENSE.md for details., (*2)

The Versions

22/11 2017

dev-master

9999999-dev https://github.com/madurmanov/yii2-twitter-api-driver

Module that enables send request to twitter api for Yii Framework 2.0.

  Sources   Download

MIT

The Requires

 

by Mikhail Durmanov

api social extension yii2 module twitter