Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http://api-public.addthis.com/url/shares.json?url=http://google.com
共有数をphp文字列として取得する必要があります。(エコー)
これを行う簡単な方法はありますか?
$ret = json_decode(file_get_contents('http://api-public.addthis.com/url/shares.json?url=http://google.com'), true); echo $ret['shares'];