0.42.1 • Published 3 years ago

@sugarcube/plugin-twitter v0.42.1

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
3 years ago

@sugarcube/plugin-twitter

This is a plugin for SugarCube.

Installation

npm install --save @sugarcube/plugin-twitter

Plugins

twitter_feed

Fetch the tweets of a twitter user account.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • twitter.access_token_secret
  • twitter.tweet_count
  • `twitter.retweets**

Metrics:

  • total: The total number of feeds queried.
  • fail: The number of feeds that failed to query.
  • success: The number of feeds that succeeded.
  • fetched: The number of tweets that were fetched from all feeds.

twitter_tweet

Fetch individual tweets by the Tweet ID.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • `twitter.access_token_secret**

Metrics:

  • total: The total number of tweets queried.
  • fail: The number of tweets that failed to download.
  • success: The number tweets that succeeded to download.

twitter_tweets - DEPRECATED

This is an alias for the twitter_tweet plugin.

twitter_friends

Fetch the friends of a twitter user account.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • twitter.access_token_secret

twitter_followers

Fetch the followers of a twitter user account.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • twitter.access_token_secret

twitter_search

Search for tweets.

Configure the profile to contain the twitter_query key. It will make a search for tweets. To search for a specific hashtag, prefix the query with %23, which translates to #.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • twitter.access_token_secret
  • twitter.language: Limit tweets to the following languages provided as ISO 639-1 language code, e.g. pt or es.
  • twitter.geocode: Limit tweets to the specified langitude,latitude,radius triplet, e.g. 37.781157,-122.398720,3km. The radius can be either specified as km or as mi.

twitter_filter_failing

This plugin verifies against the Twitter API that each unit that is a Tweet exists, and returns all failing Tweets as units in the envelope.

This plugin doesn't collect missing tweets as failures, but it counts the metric.

Configuration:

  • twitter.consumer_key
  • twitter.consumer_secret
  • twitter.access_token_key
  • twitter.access_token_secret

Metrics:

  • total: The total number of Twitter tweets queried.
  • fail: The number of tweets that failed. This metric is tracked continuously as it is detected.
  • success: The number of tweets that exist.
  • missing: The number of tweets that failed. This metric is emitted once at the end of the plugin containing the total number of failed tweets.

License

GPL3 @ Christo

0.42.1

3 years ago

0.42.0

4 years ago

0.41.0

4 years ago

0.40.0

4 years ago

0.39.0

4 years ago

0.38.0

4 years ago

0.37.0

4 years ago

0.36.1

4 years ago

0.36.0

4 years ago

0.35.0

4 years ago

0.34.0

4 years ago

0.33.0

4 years ago

0.32.1

4 years ago

0.32.0

4 years ago

0.31.2

4 years ago

0.31.0

4 years ago

0.30.2

5 years ago

0.30.1

5 years ago

0.30.0

5 years ago

0.29.0

5 years ago

0.28.0

5 years ago

0.27.2

5 years ago

0.27.0

5 years ago

0.26.0

5 years ago

0.25.1

5 years ago

0.25.0

5 years ago

0.24.0

5 years ago

0.23.0

5 years ago

0.22.0

5 years ago

0.21.0

5 years ago

0.20.1

5 years ago

0.20.0

5 years ago

0.19.0

5 years ago

0.18.0

5 years ago

0.17.0

5 years ago

0.16.0

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.1

5 years ago

0.13.0

5 years ago

0.12.0

5 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago