I am working in an rails application in which there are a option to signup user using his facebook account.
Now I am using OmniAuth gem to authenticate user from facebook. And saving/uploading user's profile photo using carrierwave.
But I can not upload and save users profile photo in my server, when I getting the user's profile photo link using OmniAuth.
I want not use remote link for profile photo, as any time it will be changed from facebook or my user will want to change his profile photo in my website.
Please help me that how I save in my server the user's profile photo from this facebook link?