Sha256: bd1e515c499e9fde1b2ad86edef5dc519f499349b6314a43acd5c25c89c2f98d

Contents?: true

Size: 447 Bytes

Versions: 4

Compression:

Stored size: 447 Bytes

Contents

require File.expand_path('../../social', __FILE__)

module PageRankr
  class Socials
    class Facebook
      include Social

      def url
        'http://graph.facebook.com'
      end

      def params
        {:id => tracked_url}
      end

      def jsonpath
        'shares'
      end

      def supported_components
        [:subdomain, :path, :query, :scheme]
      end

      def name
        :socials_facebook
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/socials/facebook.rb
PageRankr-4.6.0 lib/page_rankr/socials/facebook.rb
PageRankr-4.4.1 lib/page_rankr/socials/facebook.rb
PageRankr-4.4.0 lib/page_rankr/socials/facebook.rb