2018-01-20 16:01:59 +00:00
Twitter Addon
2013-05-31 14:26:10 +00:00
==============
2018-01-28 04:20:09 +00:00
Main authors Tobias Diekershoff, Michael Vogel and Hypolite Petovan.
2013-05-31 14:26:10 +00:00
2018-06-28 13:40:20 +00:00
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.
2013-05-31 14:26:10 +00:00
2018-01-28 04:20:09 +00:00
## Installation
2013-05-31 14:26:10 +00:00
2018-01-28 04:20:09 +00:00
To use this addon you have to register an [application ](https://apps.twitter.com/ ) for your Friendica instance on Twitter.
2018-06-28 13:40:20 +00:00
Register your Friendica site as "Client" application with "Read & Write" access we do not need "Twitter as login".
2018-01-28 04:20:09 +00:00
Please leave the field "Callback URL" empty.
2018-06-28 13:40:20 +00:00
When you've registered the app you get the OAuth Consumer key and secret pair for your application/site.
2013-05-31 14:26:10 +00:00
2018-01-20 16:01:59 +00:00
After the registration please enter the values for "Consumer Key" and "Consumer Secret" in the [administration ](admin/addons/twitter ).
2013-05-31 14:26:10 +00:00
2018-06-28 13:40:20 +00:00
## Alternative configuration
2018-11-25 07:16:41 +00:00
Open the `config/local.config.php` file and add "twitter" to the list of activated addons:
2018-06-28 13:40:20 +00:00
2018-11-25 07:16:41 +00:00
'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',
],
2018-06-28 13:40:20 +00:00
After this, users can configure their Twitter account settings from "Settings -> Addon Settings".
2018-01-28 04:20:09 +00:00
## License
2013-05-31 14:26:10 +00:00
2018-01-28 04:20:09 +00:00
The _Twitter Connector_ is licensed under the [3-clause BSD license][2] see the LICENSE file in the addons directory.
2013-05-31 14:26:10 +00:00
2018-01-28 04:20:09 +00:00
The _Twitter Connector_ uses the [Twitter OAuth library][2] by Abraham Williams, MIT licensed
2013-05-31 14:26:10 +00:00
2018-01-28 04:20:09 +00:00
[1]: http://opensource.org/licenses/BSD-3-Clause
[2]: https://github.com/abraham/twitteroauth