This package has been deprecated

Author message:

This package is no longer relevant

@indiekit/syndicator-twitter

1.0.0-beta.4 • Public • Published

@indiekit/syndicator-twitter

Twitter syndicator for Indiekit.

Installation

npm i @indiekit/syndicator-twitter

Requirements

A set of Twitter API keys. You can get these from https://developer.twitter.com.

Usage

Add @indiekit/syndicator-twitter to your list of plug-ins, specifying options as required:

{
  "plugins": ["@indiekit/syndicator-twitter"],
  "@indiekit/syndicator-twitter": {
    "user": "username",
    "checked": true,
    "forced": true
  }
}

Options

Option Type Description
accessToken string Your Twitter access token. Required, defaults to process.env.TWITTER_ACCESS_TOKEN.
accessTokenSecret string Your Twitter access token secret. Required, defaults to process.env.TWITTER_ACCESS_TOKEN_SECRET.
apiKey string Your Twitter API key. Required, defaults to process.env.TWITTER_API_KEY.
apiKeySecret string Your Twitter API secret key. Required, defaults to process.env.TWITTER_API_KEY_SECRET.
user string Your Twitter username (without the @). Required.
checked boolean Tell a Micropub client whether this syndicator should be enabled by default. Optional, defaults to false.
forced boolean Ignore the presence or value of checked and always syndicate. Optional.

Package Sidebar

Install

npm i @indiekit/syndicator-twitter

Weekly Downloads

4

Version

1.0.0-beta.4

License

MIT

Unpacked Size

15.5 kB

Total Files

7

Last publish

Collaborators

  • paulrobertlloyd