chore: deprecate tweets plugin

This commit is contained in:
Simon Lecoq
2023-07-24 13:22:15 -04:00
parent 96dde98a03
commit fca0e34e9d
7 changed files with 34 additions and 83 deletions

View File

@@ -45,7 +45,7 @@ Plugins provide additional content and lets you customize rendered metrics.
* [🗼 Rss feed <sub>`rss`</sub>](/source/plugins/rss/README.md)
* [🗨️ Stack Overflow <sub>`stackoverflow`</sub>](/source/plugins/stackoverflow/README.md)
* [🕹️ Steam <sub>`steam`</sub>](/source/plugins/steam/README.md)
* [🐤 Latest tweets <sub>`tweets`</sub>](/source/plugins/tweets/README.md)
* [🐤 Latest tweets <sub>`tweets`</sub>](/source/plugins/tweets/README.md) <sub>`⚠️ deprecated`</sub>
* [⏰ WakaTime <sub>`wakatime`</sub>](/source/plugins/wakatime/README.md)
**🎲 Maintained by community**

View File

@@ -3,6 +3,8 @@
<tr><td colspan="2"><a href="/README.md#-plugins">← Back to plugins index</a></td></tr>
<tr><th colspan="2"><h3>🐤 Latest tweets</h3></th></tr>
<tr><td colspan="2" align="center"><p>This plugin displays the latest tweets from a <a href="https://twitter.com">Twitter</a> account.</p>
</td></tr>
<tr><th>⚠️ Deprecated</th><td><p>As <a href="https://twitter.com">Twitter</a> removed the ability to fetch tweets from their free API as part of their new <a href="https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api">pricing policy</a>, this plugin is no longer maintained.</p>
</td></tr>
<tr><th>⚠️ Disclaimer</th><td><p>This plugin is not affiliated, associated, authorized, endorsed by, or in any way officially connected with <a href="https://twitter.com">Twitter</a>.
All product and company names are trademarks™ or registered® trademarks of their respective holders.</p>

View File

@@ -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

View File

@@ -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