AlmogBaku / ngFacebook

DEPRECATED Angular facebook service
MIT License
261 stars 70 forks source link

PROBLEM persisting user session through the application #67

Open xech3l0nx opened 8 years ago

xech3l0nx commented 8 years ago

I have a problem keeping the user logged in my application. even though I still have a valid user access token stored in $cookies, when the page is refreshed, $facebook.getLoginStatus() tells me that the user is not authenticated and I have to ask him to re-enter his credentials.

avishayhajbi commented 8 years ago

+1

mpaillet3821 commented 8 years ago

+1

russelltaylor05 commented 8 years ago

+1

russelltaylor05 commented 8 years ago

@mpaillet3821 Changing the SDK version to 2.4 seemed to fix the problem. Looks like the current version is 2.6, but I keep running into issues. Here is what I have as my custom Init settings.

  $facebookProvider.setCustomInit({    
    status: true,
    cookie: true,
    version: 'v2.4'
  });