Your result array has the following structure:
Array (
[0] => Array (
[name] => album
[fql_result_set] => Array (
[0] => Array (
[aid] => 118867302821_382379
)
)
)
[1] => Array (
[name] => photo
[fql_result_set] => Array (
[0] => Array (
[pid] => 118867302821_8520882
[src] => http://samplesource.jpg
[src_big] => http://samplesource.jpg
)
[1] => Array (
[pid] => 118867302821_8520886
[src] => http://samplesource.jpg
[src_big] => http://samplesource.jpg
)
[2] => Array (
[pid] => 118867302821_8520888
[src] => http://samplesource.jpg
[src_big] => http://samplesource.jpg
)
[3] => Array (
[pid] => 118867302821_8521244
[src] => http://samplesource.jpg
[src_big] => http://samplesource.jpg
)
)
)
)
You want whatever is stored under
src_big in
fql_result_set.
foreach ($fqlResult as $result) {
foreach ($result['fql_result_set'] as $values) {
// load img sources from $values['src_big']
}
}
Note that $values['src_big'] will not always be set (when $result['name'] is 'album'), so make sure you have an isset() check somewhere to handle that.
This is assuming you don't know the structure of the results and you just want to get at those
src_big values. If you actually do know the structure of the result (you should, since you you wrote the query), you can efficiently access it, for example:
foreach ($fqlResult[1]['fql_result_set'] as $values) {
// load img sources from $values['src_big']
}
I hope that was useful, I don't really know anything about the Facebook API.