mmangino / facebooker2

A simple facebook connect library for ruby
MIT License
311 stars 93 forks source link

Can Facebooker2 give some info on the API? #21

Closed nonopolarity closed 13 years ago

nonopolarity commented 13 years ago

Can Facebooker2 give some info on the API? For example, with the code in README, after Facebook signs a user in, what is the API to do what was in Facebooker 1's

rescue_from Facebooker::Session::SessionExpired do |exception|

and

self.email_hash = Facebooker::User.hash_email(email)

I think whenever we call current_facebook_user() or current_facebook_client(), then it will verify that the user is indeed the logged in user (checking the cookies), and we can use whatever in our DB to store this Facebook user's login name ... such as _app123456_user_678678678 as the login name (login id).

mmangino commented 13 years ago

The API basically matches the graph API. You're best source of documentation will be reading the code. If you want to add to the README I would appreciate any input.