Codebase list ruby-omniauth-facebook / bf2a015
consistent method signature Mark Dodwell 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
229229 Base64.decode64(value.tr('-_', '+/'))
230230 end
231231
232 def image_url uid, options
232 def image_url(uid, options)
233233 uri_class = options[:secure_image_url] ? URI::HTTPS : URI::HTTP
234234 url = uri_class.build({:host => 'graph.facebook.com', :path => "/#{uid}/picture"})
235235