Directory

← Back

Twitter widgets for Vaadin

UI components to embed Twitter timelines, buttons and Tweets

Author

Contributors

Rating

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

  • Upgraded to Vaadin 14.x
  • Added workaround to display tweet iframe inside shadow DOM
Released
2020-07-22
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

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

Vaadin Add-on Directory

Find open-source widgets, add-ons, themes, and integrations for your Vaadin application. Vaadin Add-on Directory
The channel for finding, promoting, and distributing Vaadin add-ons.
Online