Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artcodestudio/microservice-instagram
Connect your Instagram account with a JumpLink theme
https://github.com/artcodestudio/microservice-instagram
instafeed instagram microserice node oauth2 octobercms-theme shopify-theme
Last synced: 17 days ago
JSON representation
Connect your Instagram account with a JumpLink theme
- Host: GitHub
- URL: https://github.com/artcodestudio/microservice-instagram
- Owner: ArtCodeStudio
- Created: 2017-02-28T14:51:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-28T15:00:37.000Z (almost 8 years ago)
- Last Synced: 2025-01-14T20:20:05.409Z (19 days ago)
- Topics: instafeed, instagram, microserice, node, oauth2, octobercms-theme, shopify-theme
- Language: JavaScript
- Homepage: https://dev.instagram.api.jumplink.eu/
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microservice to use Instagram in JumpLink Themes
We have developed this service to easily integrate a instagram account to our customers themes.
# Host yourself
If you wanna host this microservice for your own themes follow this instructions:## Create a App
By default this microservice is designed for two types of theme integration apps:
* For Shopify Themes
* For OctoberCMS Plugin
* For Client-Side integration using InstafeedIf you want to add your own you need to integrate your in three places of this microservice:
### config.json
By default or config.json looks like:```json
{
"instagramApps": {
"shopify": {
"name": "JumpLink Shopify Theme Integration",
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tokenHost": "https://api.instagram.com",
"tokenPath": "/oauth/access_token",
"callbackPath": "/instagram-callback",
"scopes": "basic public_content"
},
"october": {
"name": "JumpLink OctoberCMS Theme Integration",
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tokenHost": "https://api.instagram.com",
"tokenPath": "/oauth/access_token",
"callbackPath": "/instagram-callback",
"scopes": "basic public_content"
},
"instafeed": {
"name": "JumpLink Instafeed Integration",
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tokenHost": "https://api.instagram.com",
"tokenPath": "/oauth/access_token",
"callbackPath": "/instagram-callback",
"scopes": "basic public_content"
}}
}
```You need to add your integration app name like we have with 'shopify', 'october' and 'instafeed'.
### views/setup/[appName].pup
Here are the templates which are displayed before making a token request, each integration app from the config.json need to must a template file included here.
We are using the [pug](https://pugjs.org) template engine here.### views/result/[appName].pup
The same rules apply as the setup template files. But these templates display the result token.