Announcement Announcement Module
Collapse
No announcement yet.
Multiple connections with multiple providers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple connections with multiple providers

    Hi there, perhaps I'm missing something, but at present, it seems that the Spring Social ConnectController supports connections with multiple service providers, but only on the basis of one account per service provider. Is this correct?

    To clarify, could I have multiple twitter accounts and multiple facebook accounts associated with a single Spring Social app user via ConnectController? If so, would you be able to point me in the right direction?

    Thanks,

    Dave

  • #2
    Well, to answer my own question, apparently you can (though I haven't looked into the details):
    http://blog.springsource.com/2011/03...der-framework/

    Comment


    • #3
      Yes, a single local user account can have 0 to many connections to a provider. Multiple connections per user per provider is shown in one of our sample apps (https://github.com/SpringSource/spring-social-samples), and outlined in the reference documentation. The blog you're linking to is out of date.
      Last edited by Keith Donald; Aug 3rd, 2011, 12:44 PM.

      Comment


      • #4
        Hi Keith, thanks for clarifying- had just noticed that the post I linked to was out of date, and in the meantime I checked out the spring-social-showcase example app.... though unfortunately that functionality does not appear to be implemented. In previous iterations of that app it was possible to setup a second twitter account, but not in the latest revision (as far as I can tell).

        This is a screen shot of the latest revision (no UI components to set up second account)

        Attachment

        ... and this is a screen shot of the earlier revision (referred to in the out of date blog post)

        Attachment

        Can you confirm that the current iteration of the spring-social-showcase demonstrates how to associate multiple connections to a single provider with one user account? I've looked through the source code, and it looks like it isn't (but not knowing how to do it, I could be missing something!)

        Thanks

        Dave
        Attached Files

        Comment


        • #5
          See the README for spring-social-samples that outlines which each sample shows... spring-social-twitter4j shows this feature.

          Comment


          • #6
            Thanks Keith, it wasn't at all obvious that the twitter4j example was the one to look for- is the README out of date?

            This repository contains sample projects illustrating usage of the Spring Social project.

            Samples include:
            - spring-social-quickstart, designed to get you up and running quickly in a Spring Framework 3.1 or > environment.
            - spring-social-quickstart-3.0.x, a version of the quickstart that is Spring Framework 3.0.x compatible.
            - spring-social-showcase, illustrating most of the features.
            - spring-social-extending-new-api, showing how to extend the framework to implement a new ServiceProvider + API binding.
            - spring-social-extending-existing-api, showing how to extend the framework and re-use an existing API binding (also shows XML-centric configuration and is Spring Framework 3.0.x compatible).

            No matter, think I can pick it up from here. Thanks again.

            Comment


            • #7
              I updated it earlier today.

              Comment

              Working...
              X