RiverVanRain / elgg_hybridauth_share

A tool that allows sharing of content to hybridauth providers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Content Sharing for Hybridauth Client

Elgg 2.3

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.

About

A tool that allows sharing of content to hybridauth providers.


Languages

Language:PHP 73.2%Language:JavaScript 23.2%Language:CSS 3.6%