friendica-addons/twitter
Philipp Holzer 5c6108b3cc
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 21:44:54 +02:00
..
config [twitter] Update config file style/name 2018-11-25 02:16:41 -05:00
lang twitter addon EN GB translation THX Andy H3 2019-03-11 18:07:48 +01:00
templates The settings for the application name are removed since they will be filled automatically. 2015-03-22 09:26:18 +01:00
vendor [ImgBot] optimizes images 2018-07-14 02:28:43 -04:00
composer.json [various] Update "mrpetovan" email address 2018-09-15 19:30:59 -04:00
composer.lock Add explicit dependencies to twitter addon 2018-01-28 12:17:19 -05:00
LICENSE Update Twitter addon documentation, file comment 2018-01-27 23:20:09 -05:00
lighter.png some files were executable, now they are not 2017-12-07 14:26:26 +01:00
README.md [twitter] Update config file style/name 2018-11-25 02:16:41 -05:00
twitter_sync.php Core Logger 2018-10-29 19:40:18 -04:00
twitter.css some files were executable, now they are not 2017-12-07 14:26:26 +01:00
twitter.php Dynamic config loading 2019-07-16 21:44:54 +02:00

Twitter Addon

Main authors Tobias Diekershoff, Michael Vogel and Hypolite Petovan.

This bi-directional connector addon allows each user to crosspost their Friendica public posts to Twitter, import their Twitter timeline, interact with tweets from Friendica, and crosspost to Friendica their public tweets.

Installation

To use this addon you have to register an application for your Friendica instance on Twitter. Register your Friendica site as "Client" application with "Read & Write" access we do not need "Twitter as login". Please leave the field "Callback URL" empty. When you've registered the app you get the OAuth Consumer key and secret pair for your application/site.

After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the administration.

Alternative configuration

Open the config/local.config.php file and add "twitter" to the list of activated addons:

'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',
],

After this, users can configure their Twitter account settings from "Settings -> Addon Settings".

License

The Twitter Connector is licensed under the 3-clause BSD license see the LICENSE file in the addons directory.

The Twitter Connector uses the Twitter OAuth library by Abraham Williams, MIT licensed