Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
gatsby-source-instagram-all
Advanced tools
Readme
⚛️📸 Gatsby source plugin to fetch ALL your instagram media from Instagram API + Gatsby Image support.
yarn add gatsby-source-instagram-all
{
resolve: `gatsby-source-instagram-all`,
options: {
access_token: "YOUR_ACCESS_TOKEN",
}
}
👓 Watch this video if you're having trouble generating your access token.
Query data like this:
query myQuery {
allInstagramContent {
edges {
node {
caption
media_url
localFile {
childImageSharp {
gatsbyImageData(layout: CONSTRAINED, placeholder: BLURRED)
}
}
album {
localFile {
childImageSharp {
gatsbyImageData(layout: CONSTRAINED, placeholder: BLURRED)
}
}
}
}
}
}
}
Field Name | Description |
---|---|
caption | The Media's caption text |
localFile | The local image. |
id | The Media's ID. |
media_type | The Media's type. Can be IMAGE, VIDEO, or CAROUSEL_ALBUM. |
media_url | The Media's URL. |
permalink | The Media's permanent URL. Will be omitted if the Media contains copyrighted material, or has been flagged for a copyright violation. |
thumbnail_url | The Media's thumbnail image URL. Only available on VIDEO Media. |
timestamp | The Media's publish date in ISO 8601 format. |
username | The Media owner's username. |
album | The CAROUSEL_ALBUM media. Has the same fields as the root media node |
Option | Type | Description |
---|---|---|
access_token | string | Your access token |
limit | number (optional) | Limit number of posts. Default is infinity |
pageLimit | number (optional) | Limit number of posts fetched per request. Default is 30 |
git checkout -b feature/fooBar
git commit -am 'Add some fooBar'
git push origin feature/fooBar
FAQs
Gatsby source plugin for fetching all your instagram media
We found that gatsby-source-instagram-all 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.