Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am matwolf08 on github.
  • I am matwolf (https://keybase.io/matwolf) on keybase.
  • I have a public key ASBYV_NdVepVqusWd8cU8r09FXuIa1dkFcJ932F7A1CPNgo

To claim this, I am signing this object:

@Matwolf08
Matwolf08 / facebook.rb
Created March 11, 2012 02:20
Facebook Strategy Class
info do
prune!({
'nickname' => raw_info['username'],
'email' => raw_info['email'],
'name' => raw_info['name'],
'first_name' => raw_info['first_name'],
'last_name' => raw_info['last_name'],
'image' => "#{options[:secure] ? 'https://' : 'http://'}graph.facebook.com/#{uid}/picture?type=square",
'description' => raw_info['bio'],
'urls' => {