You are here

function shareaholic_share_counts_api in Share Buttons, Related Posts, Content Analytics - Shareaholic 8

Same name and namespace in other branches
  1. 7.3 shareaholic.module \shareaholic_share_counts_api()

Returns the share counts for the given url and services Requires the url and services to be passed into GET params

Return value

String json response of services => share counts

1 string reference to 'shareaholic_share_counts_api'
shareaholic_menu in ./shareaholic.module
Implementation of hook_menu()

File

./shareaholic.module, line 208
Allows site owner to add share buttons/recommendations on their website

Code

function shareaholic_share_counts_api() {
  ShareaholicPublic::share_counts_api();
}