1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to get facebook tokens that does not expire after 1-2 hours?

Discussion in 'FaceBook' started by sprinto2, Mar 17, 2014.

  1. sprinto2

    sprinto2 Newbie

    Joined:
    Nov 14, 2013
    Messages:
    2
    Likes Received:
    0
    Hey Guys,

    I have been working on a page where you login with facebook and i get the access token, but i only have figured out how to get the short lived tokens..

    Can anyone help me out?
     
  2. siddy.chugh

    siddy.chugh Junior Member

    Joined:
    Sep 28, 2012
    Messages:
    170
    Likes Received:
    29
    Occupation:
    Marketing
    Location:
    NOWHERE
    Use "offline_access" permission too. This way Time stamp for tokens will be 2 months :)
     
  3. esolution

    esolution Junior Member

    Joined:
    Apr 28, 2013
    Messages:
    165
    Likes Received:
    60
    Occupation:
    Full time Internet Marketer
    Location:
    Dreamland
    read the api docs from facebook, the method to get long lived tokens is described there :)