Mageplaza Instagram Feeds for Magento 2
TABLE OF CONTENTS
Overview
Mageplaza Instagram Feeds for Magento 2 allows you to show your Instagram posts on your site.
Features
- Choose how many posts are shown on the website
- Layout your images in different ways using the Single Row, Multiple Rows, and Optimized Image options
- Show the caption of your Instagram posts
- Let customers see the entire Instagram post without leaving your site
Setup
Step 1) Creating Your Instagram API Key
The first step is getting an Instagram API key. This key allows your website to connect with Instagram and retrieve your Instagram images to show on the site.
Step-by-step Guide
- Make your Instagram account a business account.
- Create a Facebook account.
- If you already have a Facebook account, proceed to step 3.
- Make your Facebook account into a developers account.
- Your login will be the same as the Facebook account's from step 2.
- Link your Facebook developer account to your Instagram business account.
- Open Instagram.
- Go to your profile page.
- Click the menu button in the top right.
- Navigate to Settings> Account> Linked Accounts> Facebook.
- Login with your Facebook developer account.
- Get the API Key.
- Login to the Facebook Developer portal.
- Go to My Apps.
- You can follow the following video tutorial to retrieve your API key: https://www.youtube.com/watch?v=rWUcb8jXgVA&feature=youtu.be
- The "tester account" is the Instagram account that has the images you want to pull from.
- Save the API key to your computer in Notepad or a similar program.
Step 2) Add the Key to the Website
The next step is adding the key to the website's settings. This allows the website to use the key when displaying the Instagram posts.
Step-by-step Guide
- In the website admin panel, navigate to Stores> Configuration.
- On the left hand side, open the Mageplaza Extensions section and click Instagram Feed.
- After the page refreshes, open the General section and change the following settings:
- Set Enable to Yes.
- Next to User Token, enter your API key.
- Press Save Config in the upper right hand corner.
- Refresh the cache.
Step 3) Add the Feed
- In the Magento admin panel, navigate to Content> Elements> Widgets
- Click Add New Widget in the upper right hand corner.
- After the page refreshes, change Type to Mageplaza Instagram Feed and Design Theme to Smartwave Porto CPC.
- Click Continue.
- In the next panel, enter an appropriate name for Widget Title such as Instagram Feed and set Assign to Store Views to All Store Views.
- If you are a multisite store, select the appropriate store view.
- Scroll down to where you see Layout Updates.
- Layout Updates
- The following settings will add the Instagram feed to the bottom of the homepage just before the footer. If you need the feed on other pages, feel free to test different settings until you achieve the desired effect.
- Settings
- Display On: Specified Page
- Page: CMS Home Page
- Container: Before Page Footer
- Press Save in the upper right hand corner.
- Refresh the cache.
The Instagram feed should now show on the page specified. If you do not like the location of the Instagram feed, feel free to edit the widget you created in the Display section.
Troubleshooting
Why are the Instagram images not showing up in the feed?
- One reason may be due to the Instagram API Key expiring.
- The key expires after six (6) months or whenever your Instagram password changes.
- You can create a new key before then by following this video guide:https://youtu.be/rWUcb8jXgVA?t=145
Related Articles
Mageplaza Memberships
Overview Mageplaza Memberships is the third party extension that can be used to add membership functionality to your site. Membership Flow for Website and In-store Purchases Website Purchase When customers add a membership to their cart, they will ...
Donations Suite for Magento 2
Overview Mageworx's Donations Suitefor Magento 2 allows you to accept donations for your store or charities you support. Features Accept donations on the shopping cart and checkout pages Support multiple charities at once Bring awareness to the ...
Event Tickets for Magento 2: Overview
Overview Aheadworks Event Tickets for Magento 2 allows you to sell tickets for simple and complex events and check-in customers through the online store. Features Organize events of various venues, spaces, sectors and ticket types Create one-time and ...
How to Setup Counterpoint Tax Codes in Magento
This guide will go over how to setup a new Counterpoint product tax code in Magento. To sync Counterpoint product tax codes up to Magento, this will require a change in the sync configuration. Contacthelpdesk@cp-commerce.combefore starting the ...
How To Upload Images In Magento 2 - Pages
This article covers how to upload images for page use on a Magento store. TABLE OF CONTENTS Navigating to the Image Uploader Using the Image Uploader Using the New Image Navigating to the Image Uploader While editing content in Magento, there is an ...