public-instagram
public-instagram copied to clipboard
Must provide valid query_id
When trying the following:
try{
console.log(await instagram.tags.recent("ig", 1));
} catch(err){
console.log(err);
}
It fails with
{ message: 'Must provide valid query_id.', status: 'fail' }
Strangely enough this it works on my development environment but not on a remote server.
Still present after trying everything mentioned in #3
Does this also happens when searching for other hashtags? Your code also fails on me but it's because the Instagram's page for this hashtag doesn't work: here.
I know that the current errors given by this package aren't very helpful but I intend to improve this part in the near future.
Thanks for taking a look. I still get the same error when using different tags.
This problem might be related to this: link.
~However, since then Instagram has changed the web page so this package is not fully operational. I'll try to fix it tomorrow.~ This was not right, Instagram has stayed the same.
Any updates on this?
I believe this issue is related to https://github.com/GoogleChrome/puppeteer/issues/807. Since this issue was opened, I too had the same problem because I was running it on a CentOS machine.
After trying to solve the dependencies issue of Puppeteer, I gave up and swapped for a Ubuntu machine and it did run great after that.
What OS are you running on your remote server and what OS are you running locally?