Evaluate whether "https://graph.facebook.com/" + userId + "/picture" is valid. This can be done with ajax from javascript i.e $.ajax({ url ...
Lee mas