I'm in doubt as to what code to use to call this face profile image, for my user profile, can anyone help me?
I'm in doubt as to what code to use to call this face profile image, for my user profile, can anyone help me?
It will depend a lot on technology used for development, more basically you will have to use the Facebook API:
In the case of Android you have to implement something like:
/* faz a chamada REST */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{user-id}/picture",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* Trata o resultado lendo o objeto GraphResponse */
}
}
).executeAsync();