Announcement Announcement Module
Collapse
No announcement yet.
How to use accessToken obtained via Javascript ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to use accessToken obtained via Javascript ?

    I have a phonegap application that logs into facebook via https://github.com/mgcrea/cordova-facebook-connect

    I can not use spring social sign in since I want to benefit from android sso

    how do I use the accessToken in the server side ?

    for example, in facebook php sdk, there is a setAccessToken method on the Facebook API but it seems there is no such thing in spring social ...

    for info, I'm using spring social 1.0.2 with spring core and mvc 3.1.1.

  • #2
    Is there a reason that you don't want to construct a FacebookTemplate by passing it to the single-argument constructor? That should do the trick, I'd think.

    Comment


    • #3
      Originally posted by habuma View Post
      Is there a reason that you don't want to construct a FacebookTemplate by passing it to the single-argument constructor? That should do the trick, I'd think.
      You mean apart from the fact that I miss it ? No there is none

      Just for my information, where is this documented so that I do not miss such a thing again ?

      Comment


      • #4
        Well, it is documented in the reference docs at http://static.springsource.org/sprin...html/apis.html and in the API documentation at http://static.springsource.org/sprin...kTemplate.html. But I tend to ignore JavaDoc myself and just let code completion in my IDE give me clues as to what kinds of constructors are available.

        Comment


        • #5
          Thanks, I'll try not to miss that again !

          Comment

          Working...
          X