fetchAccountDetails method
Future<FacebookAccountDetails>
fetchAccountDetails(
- Session session, {
- required String accessToken,
Returns the account details for the given accessToken.
This method verifies the token and fetches the user's profile information from Facebook's Graph API.
Implementation
Future<FacebookAccountDetails> fetchAccountDetails(
final Session session, {
required final String accessToken,
}) async {
return utils.fetchAccountDetails(
session,
accessToken: accessToken,
);
}