url: https://graph.facebook.com/100779423975829/picture?type=large;
other url with type normal: https://graph.facebook.com/100779423975829/picture?type=normal
Yes, the redirections from http:// to https:// protocols hinders the downloading using Picasso,Glide ets. You may go ahead with following two approaches:
SimpleDraweeView from Facebook Sdk. It handles the redirection internally.
Make a graph request to fetch the re-directed url like below and use that url in picasso.
new GraphRequest(AccessToken.getCurrentAccessToken(), "/"+fbUserId+"/picture?width="+width+"&height="+height+"&redirect=false", null, HttpMethod.GET, new GraphRequest.Callback() { public void onCompleted(GraphResponse response) {
try {
String url = response.getJSONObject().getJSONObject("data").getString("url");
loadFacebookProfilePicInImageView(url);
} catch (Exception e) {
e.printStackTrace();
}
}
}
).executeAsync();