Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 1.22 KB

README.md

File metadata and controls

71 lines (54 loc) · 1.22 KB

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