A "blocked by CORS policy" error message may appear and the share counter API may not work in some cases. If you see this error, it means the API is restricted due to the same-origin policy, which is meant to prevent other origin resources on the internet from being accessed.
When using a custom icon, a server-side request is required for the share counter API to work.
If you have any questions about this or any other error, contact us.