I am using 2-phase Facebook login without problem in most of time, however recently I am running into a weird situation…
First login “facebook.login( fb_id, facebookListener_phase1)” and I print out the access token in the callback:
facebookListener\_phase1 -\> succesfully logged in, access\_token = CAAWGygmDMewBAE6zIfliZBtUoZA1bcM7ceq5uYXsHvkP5CxnWpkqMXRxBdVmuFWcZC736MnHnltUiILO0VWtOKzcRrCl19n0pO3k8mU0Xq5r9cxyB4ex5BGHkk0B2OmXUqERyvcZC5rKjQTVZBr1eOqxo9sjclww3qmj6qNCTROiZCMFjuZCQGV2hVrTUW26G8j9MpZCqIXD79sgerQZBfoWs
And inside the phase 1 listener, I call the second login “acebook.login( fb_id, facebookListener, { “publish_actions” })” and I also print out the access token in the callback:
facebookListener -\> succesfully logged in, access\_token = CAAWGygmDMewBAE35A9eAvTDizEZB6ZClWZCknHPNwrIIpmg19CJjlUcfhS1PUxyIL0o39DAOG3o1C5q0KZCAGG2wFqmbJ6wZAEvCAyZBKUBYDBjgZCbdNqZCzQRFJunXgZCpFe4piBuTFW9UyTIIZA3fYodXl59GDzzFFECZA7ZA5BTTVxIURn4qsU1X9pMAZAOps9pRYkucb9KpCZC4SaUZAZBiunCZA3FEo73snRaZCQ5LnHklD9nRuBdxWExk2X
These two access tokens are different!
They are supposed to be the same. I have tried to logout / remove app in the FB account setting, etc. to make sure it’s like a clean first login but I still see the same issue that the access tokens in two logins are different.
Any idea?