New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@social-connector/social-connector

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@social-connector/social-connector

Simple TypeScript integration with Instagram Basic Display API

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

social-connector

A Simple TypeScript / JavaScript integration with Instagram Basic Display API

Use to integrate your app's with Instagram Basic Display API or as a hands-on guide on how to develop the integration on your own.

Installing / Getting started

Check out the full documentation for instructions.

Developing

To further develop this package, fork it and checkout to your local machine.

Follow the Getting Started guide regarding:

  • Setting up an App in Meta's Developer Platform.
  • Setting up HTTPS and adding the redirect URI to Meta's Developer Platform.
  • Adding a Token Exchange Backend for development.

Then:

  1. Install dependencies Run npm install in the local folder of the package.
  2. Create an .env.local file To easily pass the Instagram App ID and Redirect URI:
VITE_IG_APP_ID=00000  # your app id
VITE_IG_REDIRECT_URI="https://..."  # your full redirect uri
  1. Edit /demo/App.vue instance options:
let ig = InstagramClient.getInstance({
	// ...
	tokenBackendUri: "http://localhost:8000/ig_token/",
	// ...
});

In case your Token Exchange Backend is exposed in a different address.

  1. Run the development server using: npm run dev

Running tests

Run tests using npm run test

Documentation

The documentation development server can be run with npm run docs:dev. All documentation site files are inside the docs folder.

Contributing

Contributions are greatly appreciated! Check out the Contributing Guide for more details.

Licensing

The code in this project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 29 Mar 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc