For some reason, I can't find the class in the M2 API document.
For some reason, I can't find the class in the M2 API document.
Last edited by vw729; Mar 14th, 2011 at 12:28 AM.
[URL="http://vicina.info"] 新闻,社区新闻,分类广告
That's because it is package-scoped and intended for internal use by FacebookWebArgumentResolver.
Rather than provide some utility to parse the cookie directly, FacebookWebArgumentResolver lets you annotate parameters of a controller's handler method with @FacebookCookieValue to get the cookie data directly.
For example
Code:public String showFacebookStuff(@FacebookCookieValue("uid") String fbUserId) { // ... }
Craig Walls
Spring Social Project Lead
Thanks Craig for your information.
I raised the question while I was working on our own FB signin controller. Can you advise how to use the FacebookSigninController for our system requirement if that is applicable since the FB sign in code is not for a code modification?
Our business logic in the regard is that the system will check whether our local system contains the FB user identified by FB user ID as well as email address after a successful FB user sign in. If no, a pre-filled local user account form will be prompted to the user. And only the local account data is successful stored in our local system, the user is signed in to our system. And depending on the role of this user, this user may prompted to different pages after a local signin.
[URL="http://vicina.info"] 新闻,社区新闻,分类广告