aboutsummaryrefslogtreecommitdiff
path: root/instagram.js
blob: 56b3785e973c9a93d629cc623534c7bd51513811 (plain)
1
2
3
4
5
6
7
8
async function get_insta(url) {
    let insta_url = url + "?__a=1"
    let res = await fetch(insta_url);
    let json = await res.json();
    let uid = json.graphql.user.id
    let feed_url = `${base_url}/?action=display&bridge=Instagram&context=Username&u=${uid}&media_type=all&format=`;
    return get_all_types(feed_url)
}