Skip to content

Latest commit

History

History
40 lines (30 loc) 路 1.48 KB

README.md

File metadata and controls

40 lines (30 loc) 路 1.48 KB

馃悿 Tweets

The recent tweets plugin displays your latest tweets from your Twitter account.

With tweets attachments version
馃挰 Obtaining a Twitter token

To get a Twitter token, you'll need to apply to the developer program. It's a bit tedious, but it seems that requests are approved quite quickly.

Create an app from your developer dashboard and register your bearer token in your repository secrets.

Twitter token

鈩癸笍 Examples workflows

鉃★笍 Available options for this plugin

- uses: lowlighter/metrics@latest
  with:
    # ... other options
    plugin_tweets: yes
    plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }} # Required
    plugin_tweets_attachments: yes                    # Display tweets attachments (images, preview urls, etc.)
    plugin_tweets_limit: 2                            # Limit to 2 tweets
    plugin_tweets_user: .user.twitter                 # Defaults to your GitHub linked twitter username