Skip to content

Releases: rob-murray/jekyll-twitter-plugin

v2.1.0

19 Dec 18:18
9641cf0
Compare
Choose a tag to compare

Added support for custom variables

---
title: My page
tweets:
  - https://twitter.com/dhh/status/1162426045405921282
  - https://twitter.com/rails/status/1205565185739673600
a_tweet: https://twitter.com/rubygems/status/518821243320287232
---

{% for tweet in page.tweets %}
  {% twitter tweet align=right width=350 %}
{% endfor %}

{% twitter page.a_tweet %}

v2.0.0

23 Oct 12:44
ae1d81b
Compare
Choose a tag to compare
  • Replace Twitter gem with direct API requests to Twitter Publish platform
  • Remove the concept of API types - just pass the URL to Twitter API. As such it now supports Tweets, Timelines, Profiles, Moments, etc

Examples:

{% plugin_type twitter_url *options %}

# Example for timeline of the **jekyllrb** user with a maximum of 5 Tweets and with a width of 500px
{% twitter https://twitter.com/jekyllrb maxwidth=500 limit=5 %}
  • Remove Authentication & API keys - no longer needed
  • Output now wrapped in div with class jekyll-twitter-plugin
  • Added deprecation warnings for API key and oembed usage
  • Remove support for Ruby 1.9.3

1.4.0

30 Sep 19:53
95a9d88
Compare
Choose a tag to compare
  • Add default request type of oembed. You can now just do this:
{% twitter https://twitter.com/rubygems/status/518821243320287232 %}
  • Code tidy up

v1.3.1

05 Jun 19:53
Compare
Choose a tag to compare

Fixes #13 - cache key is invalidated by Twitter gem modifying our hash.