I am developing an app that will use the profile picture of user. I am trying to save the profile picture of the user on my server for manipulation.
When I use https://graph.facebook.com/[uid]/picture?type=large it will not work because there is some sort of redirection that facebook does before serving the pic.
Can anyone help me with this issue? I am using PHP.
If I understand your issue correctly, you are probably using file_get_contents to fetch the image but you are just getting a text response back, because file_get_contents does not automatically follow the redirect the text response contains?
A quick-and-dirty solution is to parse the text response yourself to find the url of the actual image:
Then you should have the actual image url that you can process as needed.