Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
insta-react
Advanced tools
Insta-react is a simple React component for displaying instagram account or hashtag post images.
[Warning] Insta-react will no longer function due to the new CORS policy Instagram has added to the endpoint the component used to get data. Please migrate to using Instagram's basic display API here: https://developers.facebook.com/docs/instagram-basic-display-api
Insta-react is a simple React component for displaying instagram account or hashtag post images.
Insta-react can be installed with both npm and yarn as usual.
npm install insta-react
yarn add insta-react
And then can be imported into your project.
import InstaReact from "insta-react";
Insta-react takes the following props for configuration:
Prop | Type | Default | Function |
---|---|---|---|
tag | String | N/A, Required | The username or hashtag that you would like posts to be pulled from hashtags should be prefixed with '#'. |
quantity | Integer | 4 | The number of posts you would like to be shown. |
cols | Integer | 4 | The number of posts to be shown in a row before wrapping. |
links | Boolean | false | When true, clicking on a post image will link to it on Instagram |
descriptions | Boolean | false | When true, post captions will be shown for each post. |
import React from 'react';
import InstaReact from 'insta-react';
const App = () => {
return(
<div>
An account feed, latest 6 posts, 5 columns.
<InstaReact tag="redsquirrelstudio" quantity={6} cols={5} />
A hashtag feed, with defaults
<InstaReact tag="#programming" />
</div>
)
}
This component is also available for Vue.js here: https://www.npmjs.com/package/insta-vue
FAQs
Insta-react is a simple React component for displaying instagram account or hashtag post images.
The npm package insta-react receives a total of 0 weekly downloads. As such, insta-react popularity was classified as not popular.
We found that insta-react 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.