Skip to content

Commit 4956302

Browse files
committed
update
1 parent 72b785c commit 4956302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/fb_GLOBAL.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { UfsGlobal } from "./content-scripts/ufs_global.js";
55
// =============================================================================
66
// ================================= User Data =================================
77
// =============================================================================
8-
export function getUserAvatarFromUid(uid) {
9-
return `https://graph.facebook.com/${uid}/picture?height=500&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde5662`;
8+
export function getUserAvatarFromUid(uid, size = 500) {
9+
return `https://graph.facebook.com/${uid}/picture?height=${size}&access_token=6628568379%7Cc1e620fa708a1d5696fb991c1bde5662`;
1010
}
1111
export async function getYourUserId() {
1212
let methods = [

0 commit comments

Comments
 (0)