File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { UfsGlobal } from "./content-scripts/ufs_global.js";
5
5
// =============================================================================
6
6
// ================================= User Data =================================
7
7
// =============================================================================
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` ;
10
10
}
11
11
export async function getYourUserId ( ) {
12
12
let methods = [
You can’t perform that action at this time.
0 commit comments