crazy-max / cws-share-count
PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.
Requires
- php: >=5.3.0
- crazy-max/cws-curl: ~1.10
- crazy-max/cws-debug: ~1.11
README
⚠️ Abandoned project
This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
Thanks to everyone for their valuable feedback and contributions.
About
PHP class to get social share count for Delicious, Facebook, Google+, Linkedin, Pinterest, Reddit, StumbleUpon and Twitter.
Installation
composer require crazy-max/cws-share-count
And download the code:
composer install # or update
Getting started
See tests/test.php
file sample to help you.
Example
Methods
getAll - Get all social share count.
getDeliciousCount - Get delicious social share count.
getFacebookCount - Get facebook social share count.
getGooglePlusCount - Get google plus social share count.
getLinkedinCount - Get linkedin social share count.
getPinterestCount - Get pinterest social share count.
getRedditCount - Get reddit social share count.
getStumbleuponCount - Get stumbleupon social share count.
getTwitterCount - Get twitter social share count.
getError - Get the last error.
How can I help ?
All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀
Thanks again for your support, it is much appreciated! 🙏
License
MIT. See LICENSE
for more details.