Skip to content

Commit

Permalink
Update instagram.ts
Browse files Browse the repository at this point in the history
Comments removed
  • Loading branch information
wilson34679 authored Dec 8, 2023
1 parent 58a21ba commit 45d0c3b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/instagram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ const getCurrentPoints = async (envVars: EnvVars): Promise<Point[]> => {
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,
};

0 comments on commit 45d0c3b

Please sign in to comment.