
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Simple wrapper around the v1 Instagram API
$ npm install ig
ig
needs to know about your applications client ID and client secret.
You can configure it like this:
ig
.set('client id', clientId)
.set('client secret', clientSecret);
ig
does not do any authentication and expects you to implement the
oAuth2 authentication flow yourself.
After getting a users access token you can configure ig
like such:
ig.set('token', accessToken);
Instagram user class wrap where opts
is:
id
- ID of the user to wrapvar ig = require('ig')
var user = ig.User({id: 123});
Retrieves feed for the authenticated user.
ig.User.feed()
.on('error', onerror)
.on('end', function (feed) {
// do something with `feed'
});
Retrieves liked media for the authenticated user.
ig.User.likedMedia()
.on('error', onerror)
.on('end', function (media) {
// do something with `media'
});
Search for a user
ig.User.likedMedia()
.on('error', onerror)
.on('end', function (media) {
// do something with `media'
});
more to come...
MIT
FAQs
Wraps the Instagram v1 API
The npm package ig receives a total of 213 weekly downloads. As such, ig popularity was classified as not popular.
We found that ig 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.