Spring Social Facebook
  1. Spring Social Facebook
  2. SOCIALFB-7

Server-side support for Facebook registration

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.1.0 Backlog
    • Component/s: None
    • Labels:
      None

      Description

      Facebook recently released a new registration mechanism, enabling applications to offer their users a registration page that, if the user is signed in with Facebook, is sync'd with their Facebook profile data. (See http://developers.facebook.com/docs/user_registration for details.)

      The data sent back from Facebook after registration is in the form of a JSON structure, Base64-encoded, signed with HMAC_SHA1 (using the application secret as the signature key), and with the signature concatenated with the encoded JSON. In short, it's not impossible to parse, but it is inconvenient and something that Spring Social could make easier.

      Initially, I picture this as an argument resolver that avails a Spring MVC controller (that is the target of the registration callback) with a FacebookRegistration object. The controller would then handle application-specific registration (e.g., saving the data to some datastore).

        Activity

        Hide
        Craig Walls added a comment -

        As part of the work for SOCIALFB-69, I created a SignedRequestDecoder class that will no doubt be useful in decoding the signed_request parameter given in the Facebook callback for registration.

        Show
        Craig Walls added a comment - As part of the work for SOCIALFB-69 , I created a SignedRequestDecoder class that will no doubt be useful in decoding the signed_request parameter given in the Facebook callback for registration.

          People

          • Assignee:
            Unassigned
            Reporter:
            Craig Walls
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: