npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@social-connector/social-connector

v0.1.2

Published

Simple TypeScript integration with Instagram Basic Display API

Downloads

3

Readme

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.

Links

  • Documentation Site: https://niryas.github.io/social-connector/
  • Repository: https://github.com/niryas/social-connector
  • Getting Started Guide: https://niryas.github.io/social-connector/guide/getting-started
  • Contributing Guide: https://niryas.github.io/social-connector/CONTRIBUTING
  • django-social-connector (Token Exchange Backend): https://github.com/niryas/django-social-connector

Licensing

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