heiseonline / shariff-backend-php

👮 PHP backend for Shariff. Shariff enables website users to share their favorite content without compromising their privacy.
http://ct.de/-2467514
133 stars 44 forks source link

Add service "Buffer" #155

Closed richard67 closed 5 years ago

richard67 commented 5 years ago

This pull request (P) adds the new service "Buffer" for buffer.

Buffer is something very similar to AddThis and provides an API to get the share counts, see section "Buffer Share Count" here: https://www.madebymagnitude.com/blog/getting-your-social-share-counts-with-php/.

I have tested this PR in a local testing environment. The result share counts for URL="https://www.heise.de/" using services 'AddThis', 'Buffer', 'Facebook', 'Flattr', 'LinkedIn', 'Pinterest', 'StumbleUpon', 'Xing', 'Vk' was:

{"addthis":310,"buffer":188,"facebook":2454,"flattr":0,"linkedin":0,"pinterest":17,"stumbleupon":0,"xing":227}

richard67 commented 5 years ago

@compeak Travis lint errors are as usual not related to this PR but to cloning the repo for the test.

richard67 commented 5 years ago

The PR to add a new service for Buffer to Shariff is here: https://github.com/heiseonline/shariff/pull/361

compeak commented 5 years ago

Thanks.