Skip to content

This wordpress plugin will allow you to generate a valid identification token for querying Instagram APIs.

License

Notifications You must be signed in to change notification settings

irisinteractive/iris-sso-instagram

Repository files navigation

Welcome to IRIS SSO Instagram - WordPress plugin 👋

Version License: IRISInteractive Coverage Lint e2e Dependencies Build

An IRIS Interactive Project

IRIS SSO Instagram is a WordPress plugin who allow to get a valid long token for instagram API (@ March 2020)

  • PHP 7
  • JS - ES6
  • SCSS

Table of Contents

Getting Started

Download the plugin, and paste it to the plugin directory of your WordPress installation,

Enter in the plugin directory and run:

composer install && composer dump-autoload -o

Usage

First of all, finalize the configuration of the facebook/instagram application

Get the client id and the client secret of your app and register it in the admin page of the plugin

Then, click to authorize button, and enjoy, your token is getting automatically and refresh automatically if needed

For programmatically getting your token, use this method:

use \IrisSsoInstagram\includes\IrisSsoInstagramUtils;
...
echo IrisSsoInstagramUtils::get_token();

Settings

The configuration of the plugin takes place in two simple steps, from the admin page 'IRIS SSO instagram':

First, register your client id and client secret of your facebook/instagram application

Then, click on authorize button and accept the credential

Finally, your token is generated and you will getting this with the method explain above

Author

👤 IRIS Interactive

🤝 Contributing

🐵 Bernard REDARES - Lead Developer

Show your support

Give a ⭐️ if you like this project

📝 License

This project is IRISInteractive licensed.


This README was generated with ❤️ by readme-md-generator