bisrael / cordova-plugin-facebook

Cordova Plugin for iOS and Android Facebook SDK
MIT License
25 stars 21 forks source link

Add getAccessToken interface. #16

Closed hanjukim closed 5 years ago

hanjukim commented 8 years ago

Facebook SDK provides getCurrentAccessToken for checking user's login status. There was an issue #10, but I don't want to save accessToken to localStorage for security reason.

This PR provides CordovaFacebook. getAccessToken to getCurrentAccessToken, just simple interface, nothing special.

I tested on iOS, but Android code is included as well.

bisrael commented 7 years ago

@hanjukim - can you confirm that the changes to the facebook.framework files are a byproduct of simply updating the framework itself and not us changing their files in a non-maintainable way?

otherwise this looks good (sorry for the delay!)

hanjukim commented 5 years ago

facebook.framework files are not modified. It is as same as Facebook provided.