deprecated-addons/x-twitter
2024-11-13 10:15:47 +01:00
..
config Fancybox is deprecated 2024-11-13 10:15:47 +01:00
lang Fancybox is deprecated 2024-11-13 10:15:47 +01:00
templates Fancybox is deprecated 2024-11-13 10:15:47 +01:00
vendor Fancybox is deprecated 2024-11-13 10:15:47 +01:00
composer.json Fancybox is deprecated 2024-11-13 10:15:47 +01:00
composer.lock Fancybox is deprecated 2024-11-13 10:15:47 +01:00
LICENSE Fancybox is deprecated 2024-11-13 10:15:47 +01:00
lighter.png Fancybox is deprecated 2024-11-13 10:15:47 +01:00
README.md Fancybox is deprecated 2024-11-13 10:15:47 +01:00
twitter.css Fancybox is deprecated 2024-11-13 10:15:47 +01:00
twitter.php Fancybox is deprecated 2024-11-13 10:15:47 +01:00
twitter_sync.php Fancybox is deprecated 2024-11-13 10:15:47 +01: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:

'addons' => [
	...
	'twitter' => [
		admin => true,			
	],
]

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