SocialShares::Base
# File lib/social_shares/facebook.rb, line 5 def shares! response = get(URL, params: { id: checked_url, fields: 'share' }) json_response = JSON.parse(response) if json_response['share'] json_response['share']['share_count'] || 0 else 0 end end