/ Authentication / Get user profile large picture from Facebook with Omniauth in devise 2.0

Original Discussion is here: http://stackoverflow.com/questions/10532425/get-user-profile-large-picture-from-facebook-with-omniauth-in-devise-2-0

Below are the 4 Different Size of profile pictures that is allowed by facebook:

http://graph.facebook.com/id/picture?type=small
http://graph.facebook.com/id/picture?type=square
http://graph.facebook.com/id/picture?type=large
http://graph.facebook.com/id/picture?type=normal

 

And below how you display them in rails:

<%= image_tag current_user.image + "?type=large" %>



No video for this post.

No issues for this post.

by ryzalyusoff