objective c - Is there an efficient way to obtain my friend's photos from Facebook API? -
a little background info; i'm making ios app uses facebook integration. using parse (www.parse.com) back-end store facebook ids, , else need app. on app, have 3 views show following: photos, friends, public photos. these not photos, ones correspond app (similar when upload photo phone, uploads "mobile uploads" album). getting photos , public photos easy since make query parse requesting photo ids author me.
now full question following. if have array containing of friend's facebook ids, there way obtain photos correspond app without iterating each element in array? not wish since mean sending n requests server, not efficient. 1 know work around this?
use fql query photos in app's albums (https://developers.facebook.com/docs/reference/fql/photo/). aid==album id.
you can narrow search using , in
clause tied specific album id's want http://developers.facebook.com/docs/reference/fql/album/
Comments
Post a Comment