![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
public-instagram
Advanced tools
Tool to fetch Instagram's public content.
Using npm
npm i public-instagram
Using npm (& git):
npm i https://github.com/ivolimasilva/public-instagram.git
import instagram from 'public-instagram';
// Async function in order to use await
async function example() {
// Get information about hashtag
const info = await instagram.tags.info('instagram');
console.log(info);
// Get the 1000 most recent posts that contain an hashtag
const posts = await instagram.tags.recent('instagram', 1000);
console.log(posts.length);
// Get the most popular posts that contain an hashtag
const posts = await instagram.tags.top('instagram');
console.log(posts);
// Search hashtags by a string field
const hashtags = await instagram.tags.search('instagram');
console.log(hashtags);
// Get media by shortcode
const post = await instagram.media.get('BP-rXUGBPJa');
console.log(post);
// Get the 1000 most recent comments of that post
const comments = await instagram.media.comments('BP-rXUGBPJa', 1000);
console.log(comments);
// Get information about a public user
const user = await instagram.users.info('instagram');
console.log(user);
// Get all posts from a public user
const posts = await instagram.users.posts('instagram');
console.log(posts.length);
};
example();
public-instagram
uses Async/Await. In order to use it as intended, you need atleast Node v7.6
.
GPL-3.0
FAQs
Tool to fetch Instagram's public content.
The npm package public-instagram receives a total of 0 weekly downloads. As such, public-instagram popularity was classified as not popular.
We found that public-instagram 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.