yii2 - facebook sdk v5

Hi,

What is the best way to store user access tokens in my database? I’m using yii2 with facebook sdk v5 and dektrium/yii2-user extension.

What i want is incredibly simple, login users with their facebook account and store their facebook access tokens in my db but somehow i can not do it.

Users can login with their facebook accounts but there is no facebook access token stored in my db.

Please help.

Best,

Alp

You probably need to provide some code so that others can understand your problem and offer help. :)