This returns an array ordered in anti-chronological order. How do I specify an offset/limit for the query?
$photos = $facebook->api('me/photos');
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The order is based on the
created_timeparameter check for yourself to validatehttp://developers.facebook.com/tools/explorer/?method=GET&path=me%2Fphotos%3Ffields%3Dcreated_time%2Cupdated_timeThe paging property at the end of every JSON response allows you to traverse the set.
For example to get all the photos,
If you still don’t feel comfortable with this then just switch out and use
offsetandlimit, they are allowed as paramaters as well. Increment theoffsetparameter with the limit on each traverse.