Skip to content

Commit

Permalink
docs added for reddit share count
Browse files Browse the repository at this point in the history
  • Loading branch information
sagautam5 committed Sep 21, 2020
1 parent 4b1dd54 commit d104503
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
PHP >= 7.3.*

Laravel >= 7.0.*

## Support
- Facebook
- Pinterest
- Reddit

## Installation

Expand Down Expand Up @@ -49,6 +54,10 @@ php artisan config:cache

Currently, you don't need any application id or secret to count pinterest shares. You can just call the function.

#### Reddit

Currently, you don't need any application id or secret to count reddit shares. You can just call the function.

## Basic Usage

After installation, you can use the share count feature like this:
Expand All @@ -63,6 +72,9 @@ echo $facebookShares;

$pinterestShares = ShareCounter::getPinterestShares($url);
echo $pinterestShares;

$redditShares = ShareCounter::getRedditShares($url);
echo $redditShares;
```


Expand Down

0 comments on commit d104503

Please sign in to comment.