Sha256: ca19087311f0af2bb5fa50a235289f8779b4c38a0a5ac05c957dcd387e993129
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
module PictureFrom class FacebookPicture def initialize @facebook_crawler = Crawlers::FacebookCrawler.new end def picture_from_username(username) "http://graph.facebook.com/#{username}/picture" end def picture_from_user_info(user_info) username = @facebook_crawler.query(user_info) picture_from_username(username) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
picture_from-0.0.1 | lib/picture_from/facebook_picture.rb |