xxxxxxxxxx
curl -i -X GET "https://graph.facebook.com/{your-user-id}/accounts?access_token={user-access-token}
xxxxxxxxxx
To get the Client Access Token for an app, do the following:
1- Sign into your developer account.
2- On the Apps page, select an app to open the dashboard for that app.
3- On the Dashboard, navigate to
Settings > Advanced > Security > Client token.
xxxxxxxxxx
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
accessToken = AccessToken.getCurrentAccessToken();
}