--- a/libpurple/protocols/facebook/api.c Sun Jun 28 15:01:48 2015 -0400 +++ b/libpurple/protocols/facebook/api.c Sun Jun 28 15:11:52 2015 -0400 @@ -1010,8 +1010,12 @@ fb_api_user_reset(&user, FALSE); str = fb_json_node_get_str(node, "$.represented_profile.id", - &err); - FB_API_ERROR_CHK(api, err, goto finish); + NULL); + + if (G_UNLIKELY(str == NULL)) { + continue; + } + user.uid = FB_ID_FROM_STR(str); g_free(str);