Sha256: b90402de0ae446a12bf457770819c2afa2d95cd43eef34fb02e9e2f56e4eaaf5
Contents?: true
Size: 349 Bytes
Versions: 3
Compression:
Stored size: 349 Bytes
Contents
module Whatser class Facebook < Whatser::Service @key = 'facebook' def get_friends(opts={}) api_request :get, "/oauth/services/facebook/friends", {:query => opts}, :model => Whatser::User end def wall_post(params={}) api_request :post, "/oauth/services/facebook/publish", {:body => params} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whatser-0.3.1 | lib/whatser/api/facebook.rb |
whatser-0.3.0 | lib/whatser/api/facebook.rb |
whatser-0.2.0 | lib/whatser/api/facebook.rb |