Announcement Announcement Module
No announcement yet.
Facebook Requests Dialog. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Facebook Requests Dialog.

    has anyone been able to get the Facebook requests dialog to work with spring social ? i know i can get it work if i use the <fb:login> button functionality . but i am using providersignincontroller in my app.

  • #2
    The reason it doesn't work is because Spring Social handles the OAuth authorization and obtains an access token on the server-side while all of Facebook's social plugins, dialogs, and JavaScript need that access token on the client-side. As you've discovered, the <fb:login> button, helps you handle that on the client-side, but you end up forcing your user to "login" twice (even if they are only asked for credentials once).

    At this time, I do not have a solution for you, but it is the subject of It's going to be a tricky thing to do, but I think it can be done. That issue is in the backlog for Spring Social it up if you want it scheduled for a milestone release.


    • #3
      actually . i just put the <fb:login-button> onto one of my pages in my app and it still doesn't work. in fact , as you know how the login button works , it only appears if the user isn't logged in to fb in your app . so its detecting that i am already logged in to fb , but the dialog still doesn't load.


      • #4
        solved the problem. it was a port issue . after checking around . a lot of other users . were getting the same problem with the requests dialog not loading when running on http://localhost:8080/ . i had to change my display mode for the dialog from 'iframe' to 'popup' and it worked.