Thursday 10 September 2015

Get profile picture from facebook, twitter and gravatar

An useful resource for developer that requires profile images from various social network website. In this article you will learn how to get profile picture URL from Facebook, Twitter and Gravatar.

Get profile picture from facebook
Use following url to get facebook profile image. You have to replace with user id or uname of facebook user, Get facebook ID from here FB Id
 http://graph.facebook.com/<ID>/picture?type=<small|normal|album|large|square>
Eg: http://graph.facebook.com/100002342793491/picture?type=large