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. :slight_smile:

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?