Talk:Photos.get

From Facebook Developer Wiki

Jump to: navigation, search

Contents

[edit] Can we get a example on how to use this?

[edit] Easier Access

Can I just get all photos by a certain user? Seems like there should be some kind of owner_id to pass in.

To solve this right now I'm going to find all the albums of that user and then individually call Photos.get on each album. I can't even pass in multiple aids?

Some examples would be great.Vindexus 03:31, 5 January 2009 (PST)

[edit] Typo?

src_small - URL of photo, with with max width 75px and max height 225px. May be blank.

Not a typo -- that's what the code has. The src_small is used for the profile pic thumbnail, where the width is really constrained, yet we want to allow for portrait-oriented rectangular photos. -- Pete (563683308 18:02, 1 April 2009 (PDT))

[edit] Result Limiting

Some users have *thousands* of photographs - is there a way to limit the response (i.e. limit=100) or even support for paging (i.e. limit=100,start=159).

At the moment the API call can take so long to complete that the application FBML page times out!

reference