I'm starting to work on a site that will be strongly connected to a corresponding Facebook app. I want the contents to be free for all to view, but only registered users will be able to edit it (quite similar to serverfault, actually).
Since I think that most of my users will be logged in to facebook, I would really like to use their facebook credentials as to login to my site - the same way Open-Id registration works here.
Can this be done?
Thanks,
Udi Pasmon
Yes, this is one of the things provided by Facebook Connect. There is a wiki full of documentation - start at "Authenticating Users with Facebook Connect".
来源:https://stackoverflow.com/questions/1164511/can-i-use-the-facebook-credentials-to-for-users-to-access-my-site