How to use Facebook Connect's user picture in Views? I'm using the Facebook Connect Module on my Drupal 7 site. If a user logs onto my site via Facebook, his Facebook user picture gets imported to his account on my site. But now I am wondering whether or not there is any way to show this Facebook user picture in Views. This picture is only shown on the user profile page, not in any view that references the user picture field. 

Does anybody know how to do this or is there any way to automatically import the Facebook picture to be the standard user picture?
I found a solution: You can use the following hook to copy facebook's user image and save it as drupal user image. Make sure to ask your users to allow this!

/* Copy facebook image if no user image is present.
   See: http://drupal.org/node/1764176 */
function custom_api_user_login (&amp;$edit, $account) {
  $fbuid = fbconnect_get_fbuid();
  if(is_null($account-&gt;picture) &amp;&amp; $fbuid &amp;&amp; isset($account-&gt;data['fb_avatar']) &amp;&amp; $account-&gt;data['fb_avatar']){
    #$test = fbconnect_user_picture_override(array('fbuid' =&gt; $fbuid, 'account' =&gt; $account, 'size' =&gt; '25'));
    #drupal_set_message(print_r($test, true), 'status', true);

    if(copy("http://graph.facebook.com/".$fbuid."/picture?type=normal", '/tmp/'.$fbuid.'.jpg')) {
      $path = '/tmp/'.$fbuid.'.jpg';
      $file = new StdClass();
      $file-&gt;uid = $account-&gt;uid;
      $file-&gt;uri = $path;
      $file-&gt;filename = $fbuid;
      $file-&gt;filemime = file_get_mimetype($file-&gt;uri);
      $file-&gt;filesize = filesize($path);
      $file-&gt;status = FILE_STATUS_PERMANENT;
      $dest = "public://" . $fbuid.'.jpg';
      $file = file_copy($file, $dest);
      file_save($file);
      $edit['picture'] = $file;
      user_save($account, $edit);
      #drupal_set_message(print_r('&lt;img typeof="foaf:Image" src="'.$path.'" alt="Naomi Yoshida"&gt;', true), 'status', true);
    } else {
      drupal_set_message(print_r('Kopieren schlug fehl', true), 'status', true);
    }
   }
}