Official Addons for the Friendica Communications Platform. (please note that this is a clone of the repository at github, issues are handled there)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
friendica-addons/twitter
Hypolite Petovan e4487c4876 [twitter] Use correct variable to store application name 4 days ago
..
config [various] Remove config/addon.config.php in favor of per-addon configuration file 2 weeks ago
lang [twitter, nsfw] DE translation update 1 week ago
templates Twitter: automatically follow fediverse accounts in profile 3 weeks ago
vendor [ImgBot] Optimize images 6 months ago
LICENSE Update Twitter addon documentation, file comment 5 years ago
README.md [various] Remove config/addon.config.php in favor of per-addon configuration file 2 weeks ago
composer.json [twitter] Update abraham/twitteroauth dependency 1 year ago
composer.lock [twitter] Update abraham/twitteroauth dependency 1 year ago
lighter.png some files were executable, now they are not 5 years ago
twitter.css [various] Convert connector_settings hook functions to the new data array format 1 year ago
twitter.php [twitter] Use correct variable to store application name 4 days ago
twitter_sync.php Twitter: improved logging 2 years ago

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