Directory

← Back

Twitter widgets for Vaadin

UI components to embed Twitter timelines, buttons and Tweets

Author

Rating

Popularity

<100

Twitter widgets for Vaadin provides UI components to integrate an application with Twitter with Tweets, Timelines and buttons (follow, tweet, mention, hashtag).

Components are built on top of Twitter for Websites JavaScript API.

For more information see Twitter for Websites documentation.

Sample code

TweetButton.follow("TwitterDev")
    .hideScreenName()
    .large()
    .withCount(TweetButton.Count.none);
Tweet tweet = new Tweet(tweetId)
    .withoutCards()
    .withDarkTheme()
    .withHashtag("vaadin", "reactive")
    .withRelated("ligthbend", "DevoxxUK")
    .withVia("marcoc_753");

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Changes:

  • Upgrade to Vaadin 22+
  • Component migrated from Polymer to Lit
  • Added loading indicator
  • Fixed hashtags handling

Breaking changes:

  • Removed Tweet.withLinkColor() and Tweet.getLinkColor() methods because they are no more supported by Twitter widgets
Released
2022-04-02
Maturity
STABLE
License
Apache License 2.0

Compatibility

Framework
Vaadin 22+
Vaadin 8.0+ in 0.2
Vaadin 7.6+ in 0.1
Vaadin 10+ in 1.0
Vaadin 14+ in 2.0
Browser
N/A

Twitter widgets for Vaadin - Vaadin Add-on Directory

UI components to embed Twitter timelines, buttons and Tweets Twitter widgets for Vaadin - Vaadin Add-on Directory
Twitter widgets for Vaadin provides UI components to integrate an application with Twitter with Tweets, Timelines and buttons (follow, tweet, mention, hashtag). Components are built on top of Twitter for Websites [JavaScript API](https://dev.twitter.com/web/javascript). For more information see [Twitter for Websites](https://dev.twitter.com/web/overview) documentation.
Online Demo
Issue Tracker
Source Code
Javadocs

Twitter widgets for Vaadin version 0.1
Basic widgets * [Single Tweet](https://dev.twitter.com/web/embedded-tweets) * [Follow Button](https://dev.twitter.com/web/follow-button) * [Tweet Button](https://dev.twitter.com/web/tweet-button) * [Hashtag Button](https://dev.twitter.com/web/tweet-button/hashtag-button) * [Mention Button](https://dev.twitter.com/web/tweet-button/mention-button) * [Timeline](https://dev.twitter.com/web/embedded-timelines)

Twitter widgets for Vaadin version 0.2
Fixed parent pom issue

Twitter widgets for Vaadin version 1.0
First release compatible with Vaadin 10

Twitter widgets for Vaadin version 2.0
* Upgraded to Vaadin 14.x * Added workaround to display tweet iframe inside shadow DOM

Twitter widgets for Vaadin version 2.1.1

Twitter widgets for Vaadin version 3.0.0
Changes: * Upgrade to Vaadin 22+ * Component migrated from Polymer to Lit * Added loading indicator * Fixed `hashtags` handling Breaking changes: * Removed `Tweet.withLinkColor()` and `Tweet.getLinkColor()` methods because they are no more supported by Twitter widgets

Twitter widgets for Vaadin version 3.0.1
Widgets now extends Component and not LitTemplate, as template features are not required

Twitter widgets for Vaadin version 3.0.2
Added jandex index, so that the add-on can now work on Quarkus without addinf configuration on application.properties

Online