Skip to content

Instantly share code, notes, and snippets.

@goldenboy
Forked from sr3d/gist:148499
Created February 16, 2012 14:25
Show Gist options
  • Save goldenboy/1845200 to your computer and use it in GitHub Desktop.
Save goldenboy/1845200 to your computer and use it in GitHub Desktop.
# getting the facebook permanent session key.
s = Facebooker::Session.new( "API_KEY", "SESCRET_KEY")
s.auth_token = "THE_6_DIGIT_CODE"
s.secure! :generate_session_secret => false
puts s.session_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment