[twitter] Update config file style/name

This commit is contained in:
Hypolite Petovan 2018-11-25 02:16:41 -05:00
parent 336276727f
commit b655c18adb
4 changed files with 36 additions and 27 deletions

View file

@ -16,13 +16,21 @@ After the registration please enter the values for "Consumer Key" and "Consumer
## Alternative configuration
Add your key pair to your global config/addon.ini.php.
Open the `config/local.config.php` file and add "twitter" to the list of activated addons:
[twitter]
consumerkey = your consumer_key here
consumersecret = your consumer_secret here
'system' => [
...
'addon' => '...,twitter'
...
]
Add your key pair to your global `config/addon.config.php`.
'twitter' => [
'consumerkey' => 'your consumer_key here',
'consumersecret' => 'your consumer_secret here',
],
To activate the addon itself add it to the [system] addon setting.
After this, users can configure their Twitter account settings from "Settings -> Addon Settings".
## License