Second Edition adds your Instagram feed to Gatsby's data layer, allowing you to add your Instagram posts alongside all the other content on your site.
The fastest way to get up and running with Second Edition is with our starter blog template. Each of your Instagram posts will become a blog post, each with big beautiful images and a rich-text caption. You'll only have to edit one line in the template to get up and running.
We're going to store our code on GitHub and deploy the site on Vercel. You'll need accounts for both.
Note: If you prefer another hosting provider, e.g. Netlify, then by all means use that. Ditto if you prefer to host your code someplace else.
/gatsby-config.js
. If you're new to GitHub (or simply in a hurry) then consider using their online editor to make this one-line change.
gatsby-source-secondedition
.// accessToken: ""
....
...
{
resolve: "gatsby-source-secondedition",
options: {
// Copy paste this from:
// https://secondedition.io/account
accessToken: "abcdefghikabcdefghikabcdefghikabcdefghikabcdefghik",
//
// Change this number to see more/fewer of your posts
// maxPosts: 25
},
},
...
...
Congratulations, your new blog is up and runnning!
TODO: set a friendly URL, acquire a domain name, etc.
TODO: Want to use some other starter, or build your own Gatsby application completely from scratch? Let's go.