Facebook Profile Picture not loading using Picasso on some devices (Android)

412 views Asked by At

I use the following code to load user profile pictures from Facebook.

final String fbDpURL = "https://graph.facebook.com/" + fbId + "/picture?width=200&height=200";
Picasso.with(context).load(fbDpURL).placeholder(R.drawable.default_person).transform(new RoundedTransformation(100, 1)).into(holder.iv_fbPic);

Where fbId is the Facebook user-id acquired after Facebook login. On some devices like the Moto G, I have noticed that the images are not being loaded. I'm already using "https://" in my url as mentioned in various answers on questions with similar problems. But this doesn't solve my problem.

0

There are 0 answers