Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
instagram-fetcher
Advanced tools
Fetch Instagram Business and Creator account feeds with this Node.js package. This package uses the Instagram Graph API to fetch all posts from an authorized Instagram Business or Creator account, including non-public posts.
Fetch Instagram Business and Creator account feeds with this Node.js package. This package uses the Instagram Graph API to fetch all posts from an authorized Instagram Business or Creator account, including non-public posts.
To install the package, use the following command:
npm install instagram-business-fetcher
To use the package, you will need to obtain an access token from the Instagram Graph API. You can do this by following the official documentation.
Once you have an access token, you can use the package in your Node.js application by importing the InstagramFetcher class and initializing it with your access token:
const InstagramFetcher = require('instagram-business-fetcher');
const fetcher = new InstagramFetcher('your_access_token_here');
fetcher.fetch()
.then((media) => {
console.log(media);
})
.catch((error) => {
console.error(`Error: ${error.message}`);
});
The fetch method will return an array of media objects, which include information about the post such as its ID, type, URL, caption, and timestamp.
The package uses the dotenv module to load configuration from a .env file. You should create a .env file in the root directory of your project and add the following line:
ACCESS_TOKEN=your_access_token_here
Replace your_access_token_here with your actual Instagram Business or Creator account access token.
This package is licensed under the MIT License.
FAQs
Fetch Instagram Business and Creator account feeds with this Node.js package. This package uses the Instagram Graph API to fetch all posts from an authorized Instagram Business or Creator account, including non-public posts.
The npm package instagram-fetcher receives a total of 0 weekly downloads. As such, instagram-fetcher popularity was classified as not popular.
We found that instagram-fetcher demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.