0

Hi all and good day,

I'm having a problem to download/saved Facebook user profile picture that login to my system using their Facebook account.
Right now I'm thinking to automatically saved their Facebook profile picture to my system as they signup or login. I already have the access to user's profile picture but I just don't know how can I save the picture from the URL I got. Can someone help me with this? Pardon my English. xD

Thank you.

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by ping0ping
1

Depends. If you are allowed, you can use file_get_contents to get it (and file_put_contents to save it). If it's disabled you can do it with cUrl.

0

Thank you pritaeas. I used file_get_contents as you suggested. :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.