Announcement Announcement Module
Collapse
No announcement yet.
ProviderSignInController postTweet / postToWall on initial registration only Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ProviderSignInController postTweet / postToWall on initial registration only

    Hi,

    I'm liking SpringSocial so far, but there is a common use case which I'm not able to do very easily

    The usecase is ProviderSignInController postTweet / postToWall on initial registration only:
    • use ProviderSignInController + impl of ConnectionSignUp to create user's account
    • postTweet or postToWall only once on registration if checkbox is checked. This one is v important as we do not want to constantly keep posting to wall on login; this is effectively SPAM. Here's a good blog post involving Zuck himself on the subject http://chill.com/blog/2011/08/chilli...-zuckerberg-2/

    I can see what I need in terms of potential API changes:
    • ProviderSignInController having connectinterceptors, so I can set checkbox state in SESSION scope of request.
    • ConnectionSignUp having access to WebRequest. Nice thing about making the API change here is that b/c ConnectionSignUp is designed to be only called on initial registration, SpringSocial API user's won't have to roll their own independent statehandling to check if this was indeed initial, first registration. At the moment even in Showcase postConnect Interceptors this capability must be handrolled

    I don't see an easy way to do this at the moment other than rolling my own impl / small fork however perhaps someone has some suggestions?

    I'm happy to post a JIRA on this issue if need be.

    Thanks
Working...
X