What is the difference between access tokens and profiles in android facebook sdk? -
i developing android app make use of facebook login. can use 2 classes access user information. profile
, accesstoken
. difference between these?
profile used store basic user information [https://developers.facebook.com/docs/reference/android/current/class/profile/]
access tokens give authority access information [https://developers.facebook.com/docs/facebook-login/access-tokens]
so basically, cannot read profile information without access token, , it's best monitor token using accesstokentracker, lets know when user changes access state. [https://developers.facebook.com/docs/reference/android/current/class/accesstokentracker/]
Comments
Post a Comment