Instagram Scrape Feed
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Instagram Scrape Feed provides an Instagram feed in a block that does not require authentication, access tokens or API keys. It simply scrapes a public Instagram profile and returns up to 12 posts.
Why?
We build loads of sites, and getting an Instagram feed set up is always a pain. You have to get access tokens, or API keys, and get the clients login details so you can do this. We built this module to create a really easy and simple way to display a feed in a block.
How does it work?
The module will scrape a public Instagram profile page, and find the 12 latest posts. It will return the standard square image, "like" count, "comment" count and the post caption. We got the basic idea from this and went our own way with it.
Configuration
You can control the username, number of posts to display, number of columns to show, and trim the caption length.
How to use (Very Easy)
Simply...
- Install the module
- Find and edit the block in Structure > Blocks and enter a username.
- Choose the number of posts and number of columns to display.
- Click Save and Done! :-)
Whats the catch?
This module makes no attempt to store the Instagram post data, and does not integrate with Entity API. If you need that functionality, check out the other options out there. This is just a dirty, quick, easy alternative for people who want to get a feed up and running in a few clicks.
The Instagram profile you want to scrape must be set as public.
Other options (And reasons we didn't use them!)
- https://www.drupal.org/project/instagram_feeds - Requires a lot of dependencies, we didn't want to bloat our site just for an Instagram feed.
- https://www.drupal.org/project/instagram_block - This needed us to register a developer client with Instagram, and authorise through a URL, which at the time of writing this wasn't working for us on the Instagram website.
- https://www.drupal.org/project/instagram_social_feed - As above, this required authorisation. We needed something that was install and go. No faff!
Once again, if you need to integrate with the API, and store post data, then this module isn't for you, and you should try one of the above.
Development
We are actively maintaining this project, and welcome any feature requests or suggestions for how to improve the feed.
