Does AMP have support to facebook, twiiter and google plus share buttons? There's no clear information about this issue here or on github.
Asked
Active
Viewed 1,430 times
5
-
refer - https://www.ampproject.org/docs/reference/extended/amp-social-share.html – Pranav Bilurkar Jun 10 '16 at 07:52
-
As you'll see in the reference above, the Facebook button (
) won't work without the app_id. Without it you get an error from Facebook, "Invalid App ID: 0". Other buttons (e.g. twitter, pinterest) work without extra code. – plugincontainer Jan 07 '17 at 18:00
1 Answers
2
It's been proposed but not implemented yet: https://github.com/ampproject/amphtml/issues/1201
In meantime you can just create standard HTML links for these - which are much quicker to load than the bloated JavaScript official versions (though without interactive stuff like counters). For example see this page: https://web-design-weekly.com/2015/06/18/basic-performant-sharing-buttons/

Barry Pollard
- 40,655
- 7
- 76
- 92