Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Linkedin in follow button
Hi,
I want to put a linked in follow button.
<script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> <script type="IN/FollowCompany" data-id="5243850" data-counter="top"></script>
I wonder if there is an extention that would allow this?
Yoram
I don't know about an extension, but it's pretty easy to include a JavaScript library as an extension. https://vaadin.com/wiki/-/wiki/Main/Integrating%20a%20JavaScript%20library%20as%20an%20extension Don't worry about the "this is old content" warning. It's still relevant. Other option is to check AbstractJavaScriptComponent.
So I create the JavaScript in a .js (where?) in my app and I add the JavaScript Extension. Can I insert it in my layout? I'm new to Vaadin. :)
I didit, the problem is that it is not .js that I need but a place to put the script tags. Someone somwhere must have put a linked in button?