Hello Guyz,
I wish that the Title of the thread explains itself a lot.
I would like to Save an image from an HTTP URL which actually redirects to another URL.
Actually, I am trying to Save the Profile picture of Facebook.
Example : https://graph.facebook.com/thakurbhai/picture
Now when you will open the link, it will redirect to another URL/jpeg image, which I would like to save.
I've tested my Code with normal image url (.jpg) and it works fine for that. But for redirecting URL, it saves a file example.jpg with size 0 bytes.
Help please !