WordPress.org

Support

Support » Plugins and Hacks » Nextend Facebook Connect » The size of Facebook avatar

The size of Facebook avatar

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m facing the same issue.

    Is it possible to get exactly the same avatar as displayed on facebook? already cropped and resized at facebook’s end?

    i found a possible (not sure if it can work yet) but when Ii tried to edit this in nextend-facebook-connect.php

    update_user_meta($ID, ‘fb_profile_picture’, ‘https://graph.facebook.com/’ . $user_profile[‘id’] . ‘/picture?type=large’);

    to

    update_user_meta($ID, ‘fb_profile_picture’, ‘https://graph.facebook.com/’ . $user_profile[‘id’] . ‘/picture?type=small’);

    I couldn’t get the php file to save, any ideas anybody?

    I have the same problem, after disabling the plugin I cant get my theme’s default avatars’ size.

    I had the same problem. Open this file
    /plugins/nextend-facebook-connect/nextend-facebook-connect.php

    And just change this

    update_user_meta($ID, ‘fb_profile_picture’, ‘https://graph.facebook.com/’ . $user_profile[‘id’] . ‘/picture?type=large’);

    with, this

    update_user_meta($ID, ‘fb_profile_picture’, ‘https://graph.facebook.com/’ . $user_profile[‘id’] . ‘/picture?width=200&height=200′);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The size of Facebook avatar’ is closed to new replies.
Skip to toolbar