friendica-addons/twitter
Michael 9524632cdc Merge branch '2022.12-rc' of https://github.com/friendica/friendica-addons into 2022.12-rc 2022-12-10 19:09:45 +00:00
..
config [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
lang Twitter addon translation update THX kalon33 2022-12-08 18:01:18 +01:00
templates Twitter: automatically follow fediverse accounts in profile 2022-11-13 10:16:58 +00:00
vendor [ImgBot] Optimize images 2022-06-11 09:08:16 -04:00
LICENSE Update Twitter addon documentation, file comment 2018-01-27 23:20:09 -05:00
README.md [various] Remove config/addon.config.php in favor of per-addon configuration file 2022-11-20 11:43:42 -05:00
composer.json [twitter] Update abraham/twitteroauth dependency 2021-09-26 19:52:02 +02:00
composer.lock [twitter] Update abraham/twitteroauth dependency 2021-09-26 19:52:02 +02:00
lighter.png some files were executable, now they are not 2017-12-07 14:26:26 +01:00
twitter.css [various] Convert connector_settings hook functions to the new data array format 2021-11-29 06:55:16 -05:00
twitter.php Twitter: Improve uploading of images 2022-12-10 19:09:36 +00:00
twitter_sync.php Twitter: improved logging 2020-11-30 21:18:31 +00:00

README.md

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 config/twitter.config.php file.

return [
	'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