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

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -