Skip to content

Instantly share code, notes, and snippets.

@sr3d
Created July 16, 2009 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sr3d/148499 to your computer and use it in GitHub Desktop.
Save sr3d/148499 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