intentjs

Highly configurable share buttons


Keywords
share, social, intent, facebook, twitter, gplus, blogger, tumbler, pinterest, linkedin
License
MIT
Install
bower install intentjs

Documentation

intentjs

Build Status

Highly configurable sharing dialogs for the most common websites

Uses a main configuration interace among all services.

Instalation

bower install intentjs --save

Usage

The short version is

Intent.twitter({
    "text": "Text in the tweet",
    "via": "example",
    "url": "http://example.com"
});

However, there may be some specific configuration for each service. See below all possible services and their configurations.

Facebook

'app_id': '', 'link': '', 'display': 'popup', 'name': '', 'caption': '', 'description': '', 'picture': '', 'source': '', 'ref': 'share', 'actions': '', 'redirect_uri': '', 'id': '', 'relative_url': '', 'feature': 'share', 'attribution_tag ' : '',

Intent.facebook({})

Check the official facebook documentation for more details

Roadmap

  • facebook
  • actions
  • twitter
  • actions