arckinteractive/elgg_hybridauth_share

Sharing add-on for HybridAuth

2.1.1 2017-11-14 22:45 UTC

This package is auto-updated.

Last update: 2024-12-06 09:58:07 UTC


README

Elgg 2.3

THIS PROJECT IS DEAD

Facebook deprecated its publish_actions API scope rendering this and thousands other tools useless.

A tool that allows sharing of content to hybridauth providers.

Usage

Form elements

To add checkboxes to your form, simply output hybridauth/share view. It will add checkboxes for configured providers.

echo elgg_view('hybridauth/share');

Providers

You can add supported providers via 'share:providers','hybridauth' hook. By default, supported providers are Facebook, Twitter and LinkedIn. You can filter the data being sent to the provider via 'hybridauth:share:<provider>', '<object_subtype>' hook.

Object subtypes

To add your subtype to share handling, use 'share:subtypes', 'hybridauth' hook. This will add a create event listener and submit the data to the selected providers.