ios - Get reference of facebook access token - Facebook SDK 4.X -


i have been using facebook's login functionality link aws cognito system. link them require string of facebook's access token. prior version 4.0 used

nsstring *facebooktoken = fbsession.activesession.accesstokendata.accesstoken; 

since update no longer works. tried

nsstring *facebooktoken = fbsdkaccesstokenchangenewkey; 

but didn't work. suggestions? can't find in reference guide or sample projects.

fbsession.activesession.accesstokendata.accesstoken; 

has changed to

[fbsdkaccesstoken currentaccesstoken].tokenstring 

Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -