dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
6k stars 1.14k forks source link

Hashtag search without login #1422

Open josefwilhelm opened 3 years ago

josefwilhelm commented 3 years ago

Hi,

I just wanted to know if anyone has the same issue.

Until recently I could search for hashtags without logging in with following code

import { IgApiClient } from 'instagram-private-api';
const ig = new IgApiClient();

try {
    ig.search.tags('travel').then((search) =>{
        search.forEach((entry) => {
            console.log(entry); 
        })
    });
} catch (e) {
    console.log('error ' + e);
}

But about 2 weeks ago it stopped working. Does anyone else have the same issue?

Nerixyz commented 3 years ago

Just to be clear. This library requires the user to be logged in.

However if this worked before, I'm fine with keeping this issue open.