Im using Facebook Graph API to get all images for a user,i get the width,height,url. I need to get image size (bytes),I use some way to know image size by sending 'HttpWebRequest' to url and read content-length from the response , so is there a way to know the image size(bytes) for image from the facebook api?
            Asked
            
        
        
            Active
            
        
            Viewed 95 times
        
    1 Answers
1
            I don´t think there is a way with the Graph API, but you can download the image with your server language. For example, with PHP: http://php.net/manual/function.getimagesize.php
You can also get the size with JavaScript, here´s more information about that: How to Preview Image, get file size, image height and width before upload?
- 
                    Thanks for your answer – Abd Aug 17 '16 at 15:04
 
     
     
    