Announcement Announcement Module
Collapse
No announcement yet.
One Observation With the Showcase Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • One Observation With the Showcase

    While playing the showcase sample, I notice a scenario lead to an exception. After a Facebook connection is setup, I remove the Spring Showcase from my Facebook apps page. While I access the URL /spring-social-showcase/connect/facebook and have this message "Spring Social Showcase is connected to your Facebook account. Click the button if you wish to disconnect", any Facebook communication activities will lead to an exception. It is the same if try to post a feed after the publishing right is revoked. I don't know Spring Social good enough to solve this problem yet.

  • #2
    Right...if you disconnect on FB's end, there's currently no way that Spring Social would be aware of that and so it will continue to use an access token that is no longer valid.

    The exception is expected in this scenario and it is expected that the application handle it in whatever way is appropriate to that application (perhaps showing an error page, maybe taking the user back to the connect page, etc). The main problem here is that the showcase sample doesn't handle the error...but Spring Social is doing the right thing to report the problem. This is the subject of https://jira.springsource.org/browse/SOCIAL-235, but as indicated there, no work has been done on that yet.

    Facebook also supports a callback so that when someone revokes a connection at Facebook, the application can be notified and disconnect on their end. This isn't supported in Spring Social yet, but is the subject of https://jira.springsource.org/browse/SOCIALFB-69.

    Comment

    Working...
    X