Is is possible to get a users photos from a specific album by specifying its name? I’m trying to only get the album called “mobile uploads”.
offset = 0
mobile = "mobile uploads"
mobileUploads = "SELECT src_big FROM photo WHERE album_object_id IN (SELECT aid FROM album WHERE name=" + mobile + ") ORDER BY created DESC LIMIT " + offset + ",16"
$.getJSON "https://graph.facebook.com/fql?q=" + mobileUploads.replace(/\s+/g, "+") + "&access_token=" + FB.getAccessToken(), (data) ->
Yes, but you have a couple of errors in your FQL. Try this:
aid!=album_object_idownerto make the subquery indexable.type = 'mobile'in case the user renamed their “Mobile Uploads” album or has multiple albums.