0

In my android app, I have downloaded profile pictures of Facebook users using the Graph API: "http://graph.facebook.com/" + params[0]+ "/picture?width=150"

I would like to save it to the local storage private to the app but I don't know what image type Facebook uses to send to Graph API users. Does anyone know?

Sandah Aung
  • 6,156
  • 15
  • 56
  • 98

1 Answers1

1

According to this question asked here it is gif for those who have not uploaded picture and jpg for those who have. How to fetch facebook profile picture in png format? and why is it hard to load it to a bitmap data type and decode it to any file type you want?

Community
  • 1
  • 1
insomniac
  • 11,146
  • 6
  • 44
  • 55
  • The app is going to download a lot of images and there won't be time and processing resources on certain people's devices. Your answer solves our problem though. Thanks. – Sandah Aung Dec 06 '13 at 08:36