Webflow
Learn how to get started building an Instagram feed with Webflow.
Last updated
Learn how to get started building an Instagram feed with Webflow.
Last updated
Building a social feed with Webflow is straightforward and efficient. Our advanced attribute system powers Webflow feeds, allowing you to seamlessly integrate attributes directly within the platform. This enables the display of live, real-time feed data without the constraints of basic widgets and embeds.
Key Features:
Attribute Integration: Feeds are built by adding attributes directly to structure in Webflow.
Add the FeedSpring script to the <head> of your Webflow project.
The Feed Wrapper specifies where the feed will be rendered on the page and can be added to any element that will enclose the entire feed. We recommend adding a new <div>
block to wrap your feed and applying the attribute directly to this element.
Add the attribute name="feedspring"
andvalue="YOUR-UNIQUE-ID"
to the <div>
block
The Post Wrapper contains the main content of a post and is nested inside the Feed Wrapper. This is where you'll add any layout elements related to your posts, such as captions or timestamps. To create the Post Wrapper, add the following attribute to a <div>
block that will enclose your post. You can duplicate this block for as many posts as you wish to display.
Simply add the attribute name="feedspring"
andvalue="post"
Once the feed wrapper and the feed post have been created, you can start adding attributes to the required layout created inside them. For example, if you want to display a timestamp, you can add this attribute to a text element inside the post wrapper.
The following attributes can be added to your layout to start displaying their respective data.
Image
feed-field
img
Caption
feed-field
caption
Timestamp
feed-field
timestamp
Link
feed-field
link
Comment Count
feed-field
comment-count
Like Count
feed-field
like-count
Username
feed-field
username
Avatar
feed-field
avatar
Bio
feed-field
bio
Following Count
feed-field
following-count
Follower Count
feed-field
follower-count
Building your feed is super simple, add attributes detailed below to your structural content and publish your site to see the feed in action.
To display the image, add the following attribute to a <img> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="img"
To display the caption, add the following attribute to a <text> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="caption"
To display the timestamp, add the following attribute to a <text> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="timestamp"
To link directly to the original post, add the following attribute to a <link> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="link"
To display the like count, add the following attribute to a <text> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="like-count"
To display the comment count, add the following attribute to a <text> element on your page. Since this attribute is related to a post, it should be placed within an element that has the Post Wrapper.
name="feed-field"
andvalue="comment-count"
To display the accounts username, add the following attribute to a <text> element on your page.
name="feed-field"
andvalue="handle"
To display the avatar, add the following attribute to a <img> element on your page.
name="feed-field"
andvalue="avatar"
To display the bio, add the require following to a <text> element on your page.
name="feed-field"
andvalue="bio"
To display the following count, add the following attribute to a <text> element on your page.
name="feed-field"
andvalue="following-count"
To display the follower count, add the following attribute to a <text> element on your page.
name="feed-field"
andvalue="follower-count"
FeedSpring provides a range of advanced options to further customize your feeds and enhance their functionality. Explore the following sections to discover how to implement these features into your builds:
Pre-made Layouts: We provide a to get started faster.
Attributes Table: You can view all available attributes in the .
Flexability: All attributes are optional (eg. caption, avatar), only the and are required.
From your , select the "Connect New Feed" option and follow the steps to create a new feed. For more detailed getting started instructions, page.
FeedSpring offers a number of pre-made components that you can copy and paste directly into your projects. This can help you start customizing a feed right away and provides an excellent example of how a feed is built. Browse our
Timestamp Format: We also provide options to format the timestamp to suit your own requirements. Please review our to learn more about this.
you can add to your feeds, such as language tags and more.
loading experience for your feeds using placeholders.
, using the layout of a single post.
to suit exactly what you want for your feed.
built to help you solve problems with simple CSS/JS