Instagram widget
ShopWired's Instagram Widget app allows you to connect your ShopWired account and your Instagram account so that you can:
- Display a feed of Instagram posts on your website
- Tag your ShopWired website's products in your Instagram posts
The Instagram app downloads new posts from your Instagram account every hour.
To install the app:
- Navigate to Apps
- Locate the Instagram Widget app
- Select
install this app
Connecting to Instagram
Connecting to Instagram
- In the Facebook page name setting enter the name of the Facebook page that is associated with the Instagram account you're connecting to
- Select
login with Facebook
- You must ensure the Facebook account you log in to owns, or has been granted access to manage, both the Facebook Page and Instagram Business account that you are trying to connect
- Follow Facebook's instructions to grant the ShopWired app access to your Instagram account
- On returning back to the app page a confirmation message will be displayed that confirms the app has successfully been connected
- Select
get posts
to instruct the app to download your Instagram postsAll my posts
means the app will download all of your Instagram account's postsPosts I have been tagged in
means the app will download all posts on Instagram that your Instagram account has been tagged in
- Repeat the process if you want to display multiple Instagram feeds on your website (for example one feed showing your Instagram account's posts and then other showing posts your Instagram account has been tagged in)
Settings
Settings
Feed title
Use this setting to display a title above where the Instagram feed is displayed on your website.
Feed content
Use this setting to select which type of posts are displayed in the Instagram feed:
All my posts
displays all of your Instagram postsPosts with specific hashtags
only displays posts with a specific hashtag- Configure the hashtags in the next field
Posts I have been tagged in
only displays Instagram posts you have been tagged in- This option is useful to display a feed of posts from your customers
Post scroll event
Use this setting to select what should happen when a visitor hovers over an Instagram post:
Do nothing
the post will not changeShow number of likes
will display the number of likes the Instagram post has receivedShow post description
will display the Instagram post's descriptionShow number of likes and post description
will display both the number of likes the Instagram post has received and its description
Post click event
Use this setting to select what should happen when a visitor clicks an Instagram post:
Do nothing
means nothing will happenOpen popup
means a popup window will appear displaying the Instagram post largerGo to Instagram
means a new browser window will open showing the Instagram post on the Instagram website
Post spacing
Use this setting to select the amount of (empty) space between Instagram posts.
Post layout
Use this setting to select the layout of the Instagram posts in the widget:
Grid
means the widget displays Instagram posts in grid format (you can set the number of rows and columns the grid has)Slider
means the widget displays Instagram posts in a (you can set the number of columns the slider has)
Rows (desktop, tablet, mobile)
Use these settings to select how many rows of Instagram posts are displayed in the widget.
Columns (desktop, tablet, mobile)
Use these settings to select how many columns of Instagram posts are displayed in the widget.
Tagging products
Tagging products
You can tag your products displayed in your Instagram posts using the product tagging section. By tagging products, viewers of your Instagram posts can be taken straight through to your ShopWired website to buy the product(s) they contain.
The list of products that can be added to your posts is retrieved from the Facebook Catalogue that is associated with the connected Facebook Page.
- In the Product tagging section you will see a list of all Instagram posts associated with the account connected to the Instagram Widget app
- Select the
tag
icon to tag a product in the post - Use the product search to search through products by product name or SKU code
- Select the product you want to tag
- Once you have successfully tagged a product, a confirmation message will be displayed
Displaying an Instagram feed on your website
Displaying an Instagram feed on your website
Version 5 themes
If your website uses a Version 5 theme, you can use the app sections feature to configure the pages on which you want to display your Instagram feed and where the feed should display on each page.
Read detailed instructions here.
Version 4 themes
If your website uses a Version 4 theme, follow the instructions below to add the necessary code to your theme files:
- Open the for the theme you want to add the code to
- ShopWired recommends your live theme and working on it as a instead of making the changes to your live website
- Open the
master.twig
file - Locate the section of code that starts with
<head>
and ends with</head>
- Create a new line just above the
</head>
tag and paste the code below<link rel='stylesheet' href='https://hq-apps-sw.s3.eu-west-1.amazonaws.com/instagram-app/live/v2/main.css'>
- Locate the bottom of the file, create a new line just above the
</body>
tag and paste the code below<script src='https://hq-apps-sw.s3.eu-west-1.amazonaws.com/instagram-app/live/v2/main.js'></script>
- Open the theme file for the page that you want to add the widget too, e.g.
home.twig
for the home page orfooter.twig
if you want to add the widget to every page of your website - In the app page in ShopWired, locate the Theme installation section
- For the step Adding your feeds to your theme files select the Instagram feed
IGFEED_01
,IGFEED_02
orIGFEED_03
9 Copy the code provided by the app to display the feed and paste it into the place in the theme file you want to display the widget on
Automatic disconnection from Instagram
Automatic disconnection from Instagram
You may receive an email that informs you that the connection between Instagram and ShopWired has been broken for some reason and you need to reconnect.
The connection between Instagram and ShopWired can become broken for a number of different reasons:
- The "access token" that retains the link between Instagram and ShopWired has a maximum lifetime of 60 days, whilst ShopWired attempts to automatically renew this access token prior to expiry this renewal process may fail from time to time
- Access tokens may also expire due to:
- Publishing identical posts to multiple accounts at the same time
- If Instagram detect multiple IP addresses logging into your account at the same/similar times
- If you frequently log in and out of different accounts from the same device
There are a range of other reasons why the access token may expire, some of which are described here.
If you find that you are frequently receiving an email from the Instagram app alerting you that the access token has expired please ensure that you are not performing the actions mentioned above and contact support for assistance.