views:

32

answers:

1

Is it possible to get an facebook profile picture under https using the new Graph API?

We run a site under https, but the profile picture returned by the facebook Graph API is always served as http (when using https://graph.facebook.com/XXX/picture, the request is redirects to http://...). The result is the dreaded mixed-content message.

Anybody know of a workaround?

A: 

The Graph API is essentially a very basic API, it's probably not the most efficient method to grab images. A better alternative is to learn how to uSe "FQL" and create a FQL that grabs all the UID's profile pictures. This way, instead of hundred and hundreds of calls, which can be very slow, you grab all the info you need in one call.

Jackson Leung