No, the API does not return ALL image sizes based on the post feed from / page _id / feed or the feed table.
I mentioned everything because you can do this:
SELECT post_id, created_time, actor_id, attachment, message FROM stream WHERE source_id=PAGE_ID AND created_time<now() LIMIT 50
If the message type is a photograph: 
If the message type is video: 
If the message type is a link starting with fbexternal (extract w and h parameter): 
If the post type is a link without fbexternal (facebook photo), we are stuck here !: 
Code prototype:
if attachment: image_url = attachment.media[0].src if image_url: m = image_url.photo.images if m: if m.src == image_url: image_width = m.width image_height = m.height else: #no dimensions info if host by fbexternal: #extract parameter w and h from https:
In conclusion, I highly recommend that you get the width and height of the image after uploading the photo. For example, PHP has a getimagesize function, and python has a Python Imaging Library (PIL).
林果 皞
source share