Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
A Node.js library that supports the widest range of Instagram endpoints without API keys or authentication.
Get the widest range of Instagram data possible without Instagram API keys or logging in. A Node.js library that supports more endpoints than similar libraries without authentication.
https://www.npmjs.com/package/instapro
Instapro can be installed via npm: npm install instapro --save
Example.js
provides examples of each supported endpoint.
const {
getMediaByCode,
getUserByUsername,
getMediaByLocation,
getMediaByTag,
getMediaLikesByCode,
getMediaCommentsByCode,
generalSearch,
getUserIdFromUsername,
getUserProfilePicture,
getTaggedUsersByCode,
getMediaOwnerByCode
} = require('./index');
getUserByUsername('instagram').then((user) => {
console.log(user)
})
getUserIdFromUsername('instagram').then((id) => {
console.log(id)
})
getMediaByCode('BUu14BdBkO5').then(media => {
console.log(media)
})
getMediaOwnerByCode('BUu14BdBkO5').then(media => {
console.log(media)
})
getMediaByLocation('292188415').then(({ location }) => {
console.log(location.id)
console.log(location.name)
console.log(location.slug)
})
getMediaByTag('abcd').then((media) => {
console.log(media)
})
generalSearch('insta').then((results) => {
console.log(results)
})
getUserProfilePicture('instagram').then((url) => {
console.log(url)
})
getMediaLikesByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})
getMediaCommentsByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})
getTaggedUsersByCode('BUu14BdBkO5').then((media) => {
console.log(media)
})
MIT
FAQs
A Node.js library that supports the widest range of Instagram endpoints without API keys or authentication.
The npm package instapro receives a total of 17 weekly downloads. As such, instapro popularity was classified as not popular.
We found that instapro 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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.