fix Analyse
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
const INSTAGRAM_TOKEN = process.env.INSTAGRAM_TOKEN;
|
||||
|
||||
export async function getInstagramData(url) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
export async function getTikTokData(url) {
|
||||
const oembedUrl = `https://www.tiktok.com/oembed?url=${encodeURIComponent(url)}`;
|
||||
const response = await fetch(oembedUrl);
|
||||
|
||||
Reference in New Issue
Block a user