Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Facebook Integration

edited May 2007 in Vanilla 1.0 Help
So, Facebook released an API that lets it interact with user data. I thought it would be cool to allow users to register and log in to Vanilla sites directly through Vanilla. Just an idea.


  • Options
    Okay, so after thinking about this a bit, I think here's what I'm going to try to do. I don't know much about how Vanilla's extensions work, but here's what's going to have to happen in each process.

    First of all, the extension will remove registration pages, sign-in pages, and anything else that uses the independent log-in system. Although, come to think of it, perhaps it could be designed to be less intrusive, as well. Perhaps two different settings, or versions? In any event, the first step is to add Facebook log-in buttons everywhere.

    When somebody signs in through Facebook, using Facebook's built-in system, the system will run a check to see if that particular username already exists on the site. If it doesn't, then it has to prepopulate the user table with a new field, using information straight from Facebook.

    Things that could eventually be added to a user profile: Facebook Photos, Group registration, and various other "integrated" fields, such as "Favorite Movies/Books/Whatever."

    Finally, users could get an option to skip Vanilla user profiles, and move straight ahead to their Facebook profile (prepopulated, of course, with the URL given by Facebook's login feature). That way, things would seem a bit less standalone and a bit more integrated, if that's what the administrator wants.

    Is this possible and/or easy with Vanilla's extensions? What would you suggest I start by doing to get this all underway?
  • Options
    I'm way too tired and zoned out to think too much about this now but i think it's a cool idea. If you havent already taken a more indepth look at the People libraries then I'd suggest that be your first move...
This discussion has been closed.