The amp-addthis component integrates AddThis Floating Bar and Inline Share Buttons.
<script async custom-element="amp-addthis" src="https://cdn.ampproject.org/v0/amp-addthis-0.1.js"></script>
Floating share buttons
Placed on the side of your page, following your reader as they scroll. A great way to promote sharing without getting too in-your-face.
<amp-addthis width="320" height="92" layout="responsive" data-pub-id="ra-5c191331410932ff" data-widget-id="957l" data-widget-type="floating"> </amp-addthis>
Inline share buttons
Integrate share buttons into your content for a seamless sharing experience.
<amp-addthis width="320" height="92" data-pub-id="ra-5c191331410932ff" data-widget-id="mv93" data-widget-type="inline"> </amp-addthis>
Visit the addthis homepage to learn to how to setup AddThis on AMP or check out this video for step-by-step instructions:
If the explanations on this page don't cover all of your questions feel free to reach out to other AMP users to discuss your exact use case.Go to Stack Overflow An unexplained feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Edit sample on GitHub
Written by @pjcunnin