-
Notifications
You must be signed in to change notification settings - Fork 855
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24273e9
commit 83e8d03
Showing
14 changed files
with
292 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| * [Home](/) | ||
| * [Getting Started](getting-started.md) | ||
| * [Managing Access Tokens](managing-access-tokens.md) | ||
| * [Migrating to v2](v2-migration-guide.md) | ||
| * [Changelog](changelog.md) | ||
| - [Installation](installation.md) | ||
| - [Usage](usage.md) | ||
| - [Managing Access Tokens](tokens.md) | ||
| - [Changelog](changelog.md) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,40 @@ | ||
| <!DOCTYPE html> | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Instafeed.js - a simple Instagram javascript plugin</title> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
| <meta name="description" content="Instafeed.js is a simple way to display your Instagram photos on your website."> | ||
| <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
| <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css"> | ||
| </head> | ||
| <body> | ||
| <div id="app"></div> | ||
| <script> | ||
| window.$docsify = { | ||
| themeColor: '#9370DB', | ||
| name: 'Instafeed.js', | ||
| repo: 'stevenschobert/instafeed.js', | ||
| coverpage: true, | ||
| loadSidebar: true, | ||
| subMaxLevel: 2, | ||
| homepage: 'home.md', | ||
| auto2top: true, | ||
| alias: { | ||
| '/changelog': 'https://raw.githubusercontent.com/stevenschobert/instafeed.js/develop/CHANGELOG.md', | ||
| } | ||
| }; | ||
| </script> | ||
| <script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script> | ||
| </body> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <title>Instafeed.js - a simple Instagram javascript plugin</title> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
| <meta | ||
| name="description" | ||
| content="Instafeed.js is a simple way to display your Instagram photos on your website." | ||
| /> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" | ||
| /> | ||
| <link | ||
| rel="stylesheet" | ||
| href="//cdn.jsdelivr.net/npm/docsify@4/themes/vue.css" | ||
| /> | ||
| </head> | ||
| <body> | ||
| <div id="app"></div> | ||
| <script> | ||
| window.$docsify = { | ||
| themeColor: "#9370DB", | ||
| name: "Instafeed.js", | ||
| repo: "stevenschobert/instafeed.js", | ||
| coverpage: true, | ||
| loadSidebar: true, | ||
| subMaxLevel: 2, | ||
| homepage: "installation.md", | ||
| auto2top: true, | ||
| alias: { | ||
| "/changelog": | ||
| "https://raw.githubusercontent.com/stevenschobert/instafeed.js/refs/heads/master/CHANGELOG.md", | ||
| }, | ||
| }; | ||
| </script> | ||
| <script src="//cdn.jsdelivr.net/npm/docsify@4"></script> | ||
| </body> | ||
| </html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| ## Installation | ||
|
|
||
| Setting up Instafeed is pretty straight-forward - there are 3 main steps. | ||
|
|
||
| 1. Create a Facebook app linked to a Professional Instagram Account, and add yourself as a test user. See [steps 1-6 of the official documentation](https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/create-a-meta-app-with-instagram) | ||
| 2. Create an access token and provide it to an Instagram Token service. See [Managing User Tokens](tokens). | ||
| 3. Add the instafeed.js script to your web page and provide some simple options. See [Usage](usage) | ||
|
|
||
| Instafeed.js is compatible with all of the following loading mechanisms: | ||
|
|
||
| - [Browser globals](#browser-globals) | ||
| - [RequireJS](#requirejs) | ||
| - [CommonJS (`require`)](#commonjs) | ||
| - [ECMAScript Modules (`import`)](#ecmascript-modules) | ||
|
|
||
| #### Browser Globals | ||
|
|
||
| If you are loading Instafeed.js via the standard `<script>` tag, Instafeed.js will be available under the global variable `Instafeed`: | ||
|
|
||
| ```html | ||
| <script type="text/javascript" src="path/to/instafeed.min.js"></script> | ||
| <script type="text/javascript"> | ||
| var feed = new Instafeed({ | ||
| //... | ||
| }); | ||
| </script> | ||
| ``` | ||
|
|
||
| #### RequireJS | ||
|
|
||
| ```js | ||
| requirejs(["path/to/instafeed.min.js"], function (Instafeed) { | ||
| var feed = new Instafeed({ | ||
| //... | ||
| }); | ||
| }); | ||
| ``` | ||
|
|
||
| #### CommonJS (`require`) | ||
|
|
||
| ```js | ||
| const Instafeed = require("instafeed.js"); | ||
|
|
||
| var feed = new Instafeed({ | ||
| //... | ||
| }); | ||
| ``` | ||
|
|
||
| #### ECMAScript Modules (`import`) | ||
|
|
||
| ```js | ||
| import Instafeed from "instafeed.js"; | ||
|
|
||
| var feed = new Instafeed({ | ||
| //... | ||
| }); | ||
| ``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.