#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2008
    Posts
    203
    Rep Power
    10

    Facebook SDK - long lived access tokens


    Can some please help me cause I'm about to loss my head....

    Have an extension on my site QuadScene New Zealand to display my Facebook wall posts.
    What I need is a long lived access token as mine keeps expiring, I think its only valid for like 2 hours, I'm after the 60 day token.

    Ive tried generating the long lived token with

    Code:
    [page id]?fields=access_token
    in the graph API editor but get error

    Code:
    {
      "error": {
        "message": "(#100) Tried accessing nonexisting field (access_token) on node type (Application)",
        "type": "OAuthException",
        "code": 100
      }
    }
    can someone PLEASE help me
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2016
    Posts
    3
    Rep Power
    0
    There may be some sort of error within the access tokens input. Is it correctly formatted? Spelt correctly? If so then it must be a callback within your code.

IMN logo majestic logo threadwatch logo seochat tools logo