From 45d0c3b4a052f75343d5dfc428c186014ec0939e Mon Sep 17 00:00:00 2001 From: wilson34679 <110028690+wilson34679@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:18:42 -0800 Subject: [PATCH] Update instagram.ts Comments removed --- src/instagram.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/instagram.ts b/src/instagram.ts index e695ed5..a9555ca 100644 --- a/src/instagram.ts +++ b/src/instagram.ts @@ -22,18 +22,6 @@ const getCurrentPoints = async (envVars: EnvVars): Promise => { return [followersPoint, postsPoint]; }; -/* a potential way to refresh the access token -const refreshEndpoint = - "https://graph.instagram.com/refresh_access_token?grant_type=ig_refresh_token&"; - -const refreshIgToken = async (envVars: EnvVars) => { - const igResponse = await axios.get( - `${refreshEndpoint}access_token=${envVars.IG_ACCESS_TOKEN}` - ); - console.log(igResponse.data); -}; -*/ - export default { getCurrentPoints, };