## Developing ##

developers.facebook.com/docs/authentication/

auth = Fbrails::Auth.new(app_id,app_secret,app_url)

auth.redirect_url # get a redirect page to server-flow authorization

token = auth.token(code) # getting token from code which send back from facebook # => => “TOKEN”, :expires => “TIME_WHEN_EXPIRES”

Fbrails::Auth.token_valid?(token) # return true of false OR Fbrails::Auth.token_valid?(token,expire_time) # return true of false

graph = Fbrails::Graph.new(token)

graph.me # return hash with your info or false