Results 1 to 5 of 5

Thread: How to use accessToken obtained via Javascript ?

  1. #1

    Question 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. #2
    Join Date
    Aug 2004
    Posts
    1,099

    Default

    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.
    Craig Walls
    Spring Social Project Lead

  3. #3

    Default

    Quote 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 ?

  4. #4
    Join Date
    Aug 2004
    Posts
    1,099

    Default

    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.
    Craig Walls
    Spring Social Project Lead

  5. #5

    Red face

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •