Hi, using this api on desktop on Google Canary everything working fine. However,...
Trying to add it to AMP is a bit of a problem. The information is found here: https://ampbyexample.com/components/amp-social-share/
The biggest problem with it in AMP is that there is no fallback. I managed to get it working in Google Canary on an AMP page. But when I open the same webpage in Firefox Nightly the share button is missing.
My solution will require lots of extra coding to check if the user is using a Chrome or Android device and then either display the AMP code or my own code as a fallback.
This is not the best way and I think someone just needs to re-code and update the AMP Share Module Script to allow a fallback.
AMP has a "data-param-url" so if a developer/webmaster added this then surely it should load a fallback URL. At present doesn't do anything.
Not sure where to voice my concerns...?
Also added here: https://github.com/ampproject/amphtml/issues/7982