Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
insta-fetcher
Advanced tools
Fetch instagram api with full details and simplified json metadata
Read the docs here
☕ Buy Me a Coffee : Saweria
npm i insta-fetcher
let { igApi, getCookie } = require("insta-fetcher");
// using constructor
let ig = new igApi("your cookie");
// you can get sesion id by using getSessionId function, it requires username & password
(async () => {
const session_id = await getCookie("username", "password");
console.log(session_id);
})();
more example you can check at example.ts file
let { igApi } = require("insta-fetcher");
// some example with proxy, but i never test it
let ig = new igApi("your cookie", false, {
proxy: {
host: 'proxy-url',
port: 80,
auth: {username: 'my-user', password: 'my-password'}
}
});
// Public post
ig.fetchPost("https://www.instagram.com/reel/CXhW_4sp32Z/").then((res) => {
console.log(res);
});
// User data
ig.fetchUser("mg.creativestudio").then((res) => {
console.log(res);
});
// Fetch stories
ig.fetchStories("adiraas.p").then((res) => {
console.log(res);
});
// Fetch highlights
ig.fetchHighlights("adiraas.p").then((res) => {
console.log(res);
});
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
FAQs
Simplified Instagram metadata scraping
The npm package insta-fetcher receives a total of 5,808 weekly downloads. As such, insta-fetcher popularity was classified as popular.
We found that insta-fetcher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.