Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
bin
Gallery__Instagram.html
Gallery__Instagram.scss
Readme.md
dynamodb.js
fetch.js
lib.js
package.json
s3.js
store.js

Readme.md

@ctx-core/instagram_cache

Caches the paths to the media in an instagram account to S3.

Also contains a Gallery__Instagram svelte component to navigate through the media.

Usage

cache-instagram.js

npm install @ctx-core/instagram_cache
cache-instagram.js

Gallery__Instagram

<script>
	import Gallery__Instagram from '@ctx-core/instagram_cache/Gallery__Instagram.html'
</script>

<Gallery__Instagram></Gallery__Instagram>

<style type="text/scss">
	@import "~@ctx-core/instagram_cache/Gallery__Instagram";
	@import "your-css/variables";
	@include Gallery__Instagram(
		$fill__Icon: mix(white, $color-primary-lighter, 75%),
		$fill__hover__Icon: white
	)
</style>

Environment Variables

INSTAGRAM_NAME - Name of the instagram account

KEY__ARR__PATHNAME__MEDIUM - S3 Key for the file containing the Array of Paths of Media

You can’t perform that action at this time.