IN THIS ARTICLE
What is the Share Count Proxy API
The Share Count Proxy API functions much like a secure VPN service. Once enabled, all Share Count requests to the various Social Networks are proxied through this service. Doing so, results in:
Better Protection of Visitor Privacy / Easier GDPR Compliance
The "original" share buttons from Facebook, Pinterest and others automatically transmit data of your visitors to the social network sites as soon as they visit your website. This is also the case if you use custom Share Buttons (such as a plugin) and choose to display Share Counts. Data is shared without the need for visitors to click on a share button and therefore have no choice.
The Share Count Proxy API allows site visitors to see how popular your pages are without needless leakage to the social networks (unless they decide to share, of course). Once enabled, all Share Count queries to the Social Networks are proxied through this API and visitor privacy is protected (like an anonymous VPN).
Better Facebook Share Counts
Have your Facebook Share Counts recently “reset”? This is because Facebook updated their API recently to require authentication to lookup Share Counts. This was not the case earlier. It is not possible to safely make such authenticated requests without a server-side solution, like this proxy. If you use this Proxy API, you’ll be able to set Facebook App credentials and make authenticated calls for better counts. You will also get much higher Facebook API limits.
Plus, since this Proxy API protects user privacy, Firefox and other major browsers do not default block requests to it like they do to client-side requests to Facebook’s and other such APIs.
Faster Website Speed
The proxy consolidates what would be multiple client-side HTTP requests (one for each social network) to a single HTTP/2 compatible request for your visitors. By cutting down on requests, your website will load faster. Plus, the proxy lives on our optimized servers that are super-specialized for retrieving, caching and serving, so your own servers and database run faster as they have to do less work.
Save Money on Your Web Hosting
Retrieving, caching and serving Share Counts can be a server and database intensive activity which can test even the best of web hosts. Because this service lives on Shareaholic servers, you and your host don't need to deal or worry about any of this. Save on your hosting bill, let us do the heavy lifting instead. Also, because the service is hosted, it works with any CMS, including Shopify, Wix, and Blogspot.
How-to enable the Share Count Proxy API for your Site Profile
To enable the “Share Count Proxy API”, header over to your Site Profile's Share Count Settings (Site Profile -> Settings -> Sharing > Share Count) and toggle it on:
- If you have not done so already, setup your Facebook App integration and setup a default cache time.
- Save Changes and you're done!
If you'd like to direct API access to integrate into your own app, shoot us a note.