abemedia / shareCount

A PHP script to fetch the count of social shares, cache the results and output as JSON, JSONP or XML data.
GNU General Public License v2.0
100 stars 35 forks source link

Error: No URL specified. #6

Closed srakl closed 9 years ago

srakl commented 9 years ago
require("share_count.php");
$count = new shareCount;
echo $count->get();

this gives me

Error: No URL specified.

abemedia commented 9 years ago

Access the file like so PATH_TO_SCRIPT/?url=http://example.com/

You can see it in action in the hosted version: https://count.donreach.com/?url=http://9gag.com/