diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index ad431894..1d9709b1 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -874,36 +874,6 @@ jobs: user: lowlighter plugins_errors_fatal: yes if: ${{ success() || failure() }} - - name: 🐤 Latest tweets - Latest tweets - uses: lowlighter/metrics@master - with: - filename: metrics.plugin.tweets.svg - token: NOT_NEEDED - base: "" - plugin_tweets: yes - plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} - plugin_tweets_user: github - output_action: none - delay: 120 - user: lowlighter - plugins_errors_fatal: yes - if: ${{ success() || failure() }} - - name: 🐤 Latest tweets - Latest tweets including attachments - uses: lowlighter/metrics@master - with: - filename: metrics.plugin.tweets.attachments.svg - token: NOT_NEEDED - base: "" - plugin_tweets: yes - plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} - plugin_tweets_attachments: yes - plugin_tweets_user: github - plugin_tweets_limit: 1 - output_action: none - delay: 120 - user: lowlighter - plugins_errors_fatal: yes - if: ${{ success() || failure() }} - name: 🗨️ Stack Overflow - Top answers from stackoverflow uses: lowlighter/metrics@master with: diff --git a/README.md b/README.md index fe63843a..139e0e01 100644 --- a/README.md +++ b/README.md @@ -243,77 +243,65 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
This plugin displays the latest tweets from a Twitter account.
+As Twitter removed the ability to fetch tweets from their free API as part of their new pricing policy, this plugin is no longer maintained.
This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Twitter. All product and company names are trademarks™ or registered® trademarks of their respective holders.
diff --git a/source/plugins/tweets/examples.yml b/source/plugins/tweets/examples.yml index 6a0128f0..9d0f6453 100644 --- a/source/plugins/tweets/examples.yml +++ b/source/plugins/tweets/examples.yml @@ -7,6 +7,10 @@ plugin_tweets: yes plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} plugin_tweets_user: github + prod: + skip: true + test: + skip: true - name: Latest tweets including attachments uses: lowlighter/metrics@latest @@ -19,3 +23,7 @@ plugin_tweets_attachments: yes plugin_tweets_user: github plugin_tweets_limit: 1 + prod: + skip: true + test: + skip: true diff --git a/source/plugins/tweets/metadata.yml b/source/plugins/tweets/metadata.yml index 929b91a7..fdb56b5c 100644 --- a/source/plugins/tweets/metadata.yml +++ b/source/plugins/tweets/metadata.yml @@ -5,6 +5,8 @@ description: | disclaimer: | This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with [Twitter](https://twitter.com). All product and company names are trademarks™ or registered® trademarks of their respective holders. +deprecation: | + As [Twitter](https://twitter.com) removed the ability to fetch tweets from their free API as part of their new [pricing policy](https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api), this plugin is no longer maintained. examples: +latest tweets with attachments: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.attachments.svg latest tweets: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.tweets.svg diff --git a/tests/cases/tweets.plugin.yml b/tests/cases/tweets.plugin.yml index 62e8c583..fe51488c 100644 --- a/tests/cases/tweets.plugin.yml +++ b/tests/cases/tweets.plugin.yml @@ -1,20 +1 @@ -- name: 🐤 Latest tweets - Latest tweets - uses: lowlighter/metrics@latest - with: - token: NOT_NEEDED - plugin_tweets: 'yes' - plugin_tweets_token: MOCKED_TOKEN - plugin_tweets_user: github - use_mocked_data: 'yes' - verify: 'yes' -- name: 🐤 Latest tweets - Latest tweets including attachments - uses: lowlighter/metrics@latest - with: - token: NOT_NEEDED - plugin_tweets: 'yes' - plugin_tweets_token: MOCKED_TOKEN - plugin_tweets_attachments: 'yes' - plugin_tweets_user: github - plugin_tweets_limit: 1 - use_mocked_data: 'yes' - verify: 'yes' +[]