gnu-social/plugins/ShareNotice
Diogo Cordeiro 1049080df5 [CORE] Move public resources to a /public directory
Advantages:
* Increases security by preventing direct access to file/
* We are careful and have a defined('GNUSOCIAL') || die() to prevent
  direct access to GS files, but we may miss one or a vendor/extlib may
  not be as careful
* Improves directory structure - It's more natural to physically
  separate what is public from what are GNU social resources
2019-08-03 17:47:25 +01:00
..
locale [TRANSLATION] Update Plugin POs 2019-06-09 16:10:03 +01:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00
ShareNoticePlugin.php [VersionBump] 1.19.0, fairly late 2019-06-07 15:02:08 +01:00

README

The ShareNotice plugin allows sharing of notices to Twitter, Facebook and other
platforms.

Installation
============
add "addPlugin('ShareNotice');"
to the bottom of your config.php

Settings
========
targets: Array of platforms allowed to share to

Example
=======

addPlugin('ShareNotice', array(
    'targets' => array(
        array('Twitter'),
        array('Facebook'),
        array('StatusNet', array('baseurl' => 'http://example.org'))
    )
));