This repository contains a simple HTML and CSS project for integrating Instagram content into your website. With just a few lines of code, you can display your Instagram posts or a specific user's feed on your webpage. This readme will guide you through the setup and customization process.
Follow these steps to get started with Instagram integration on your website:
-
Clone this repository to your local machine using
git clone
:git clone https://github.com/Manish4586/instagram-integration.git
-
Open the project folder in your code editor.
-
Replace the
YOUR_ACCESS_TOKEN
andYOUR_USER_ID
placeholders inindex.html
with your Instagram API access token and user ID. You can obtain these credentials by creating a developer account on the Instagram Graph API platform. -
Customize the CSS styles in
style.css
to match your website's design. -
Save your changes.
Once you've set up the project and customized the styles, you can integrate Instagram content into your website by including the following HTML snippet in your web page:
<div class="instagram-feed">
<!-- Instagram posts will be displayed here -->
</div>
<script src="https://www.instagram.com/embed.js"></script>
<script src="js/instagram-feed.js"></script>
Make sure to adjust the CSS classes and file paths as needed to match your project structure.
You can further customize the Instagram feed by modifying the js/instagram-feed.js
file. This JavaScript file controls the behavior and appearance of the Instagram content on your website. You can:
- Change the number of posts displayed.
- Customize the layout and design.
- Add event listeners for interactions with the feed.
Feel free to explore and modify the code to meet your specific requirements.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy Instagram integration! If you encounter any issues or have questions, please don't hesitate to open an issue or reach out for assistance.