Overwrite from Server

Note: This topic is for legacy Social Sharing v2 support only. For all new integrations, please see the current Social Sharing documentation.

Share Button

The Code

This is sharing with customization from the user. Instead of loading the provider list that was configured through the Dashboard, this instance is loading a custom list of providers (in this case, only Facebook). All settings entered using this method are subject to validation, so it is possible that the UI will render with a different value than what was set. For example, if url is supplied but does not conform to common URL syntax, a default value is used instead.