{"id":15150774,"url":"https://github.com/digitoimistodude/image-hashtag-feed","last_synced_at":"2026-01-14T01:25:25.203Z","repository":{"id":56968967,"uuid":"60700212","full_name":"digitoimistodude/image-hashtag-feed","owner":"digitoimistodude","description":"WordPress plugin to get Instagram hashtag feeds working again by bypassing the API.","archived":true,"fork":false,"pushed_at":"2021-05-26T11:46:09.000Z","size":93,"stargazers_count":32,"open_issues_count":1,"forks_count":9,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T15:39:44.392Z","etag":null,"topics":["instagram","instagram-feed","wordpress","wordpress-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitoimistodude.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-08T13:32:32.000Z","updated_at":"2025-02-12T08:21:58.000Z","dependencies_parsed_at":"2022-08-21T06:40:17.982Z","dependency_job_id":null,"html_url":"https://github.com/digitoimistodude/image-hashtag-feed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/digitoimistodude/image-hashtag-feed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitoimistodude%2Fimage-hashtag-feed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitoimistodude%2Fimage-hashtag-feed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitoimistodude%2Fimage-hashtag-feed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitoimistodude%2Fimage-hashtag-feed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitoimistodude","download_url":"https://codeload.github.com/digitoimistodude/image-hashtag-feed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitoimistodude%2Fimage-hashtag-feed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28407696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["instagram","instagram-feed","wordpress","wordpress-development","wordpress-plugin"],"created_at":"2024-09-26T14:41:54.156Z","updated_at":"2026-01-14T01:25:25.174Z","avatar_url":"https://github.com/digitoimistodude.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"| :bangbang: | **This repository is no longer actively maintained. The plugin still works, but does not receive any further updates other than community contributed fixes.**  |\n|:------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n# Image hashtag feed\nWordPress plugin to get Instagram hashtag feeds working again by bypassing the API. Handcrafted with love at [Digitoimisto Dude Oy](http://dude.fi), a Finnish boutique digital agency in the center of Jyväskylä.\n\nThe Instagram fetcher is based on [Instagram-Hashtag-Grabber](https://github.com/Bolandish/Instagram-Hashtag-Grabber) from [Thomas Bolander](https://github.com/Bolandish) and settings page is made with excellent [Simple Admin Pages](https://github.com/NateWr/simple-admin-pages) library made by [Nate Wright](https://github.com/NateWr).\n\n## Table of contents\n1. [Please note before using](#please-note-before-using)\n2. [License](#license)\n    1. [Legal](#legal)\n3. [Usage](#usage)\n    1. [Settings](#settings)\n    2. [Functions](#functions)\n    3. [Hooks](#hooks)\n4. [Composer](#composer)\n5. [Contributing](#contributing)\n\n### Please note before using\nImage hashtag feed plugin is not meant to be \"plugin for everyone\", it needs at least some basic knowledge about php and css to add it to your site and making it look beautiful.\n\nThis is a plugin in development for now, so it may update very often because new features and changes in Instagram's end. By using this plugin, you agree that the anything can change to a different direction without a warning.\n\n#### Legal\nPlease be aware that Instagram prohibits crawling, scraping and caching in their [TOC](https://help.instagram.com/478745558852511). This plugin uses same endpoint that Instagram is using in their own site, so it's arguable if TOC can prohibit the use of openly available information.\n\nThere has been few [court cases in United States](https://en.wikipedia.org/wiki/Web_scraping#Legal_issues), where the court has ruled that scraping is illegal. In Europe, there have been also few similar cases. None of these cases have had Instagram involved.\n\n**This being said, use your own consideration whether you wan't to use this plugin.**\n\n### License\nImage hashtag feed is released under the GNU GPL 2 or later.\n\n### Usage\n#### Settings\nSettings page can be found from `Settings` -\u003e `Image hashtag feed`.\n\nFrom settings page you can set which hashtag to use and check when the last fetch from Instagram was made. Hashtag can be also set dynamically from functions described below.\n\n#### Functions\nPlugin brings few functions to use in your site.\n\n##### `get_the_dude_img_hashfeed_raw`\nReturns array of objects received from Instagram. Object contains all basic details about the image; timestamp, comment and like counts, caption, author information and src to use when displaying image. These can be changed with [filter](#hooks).\n\n```\nobject(stdClass)#1211 (10) {\n    [\"code\"]=\u003e\n    string(11) \"BGY_ICpOF0S\"\n    [\"date\"]=\u003e\n    int(1465382279)\n    [\"comments\"]=\u003e\n    object(stdClass)#1212 (1) {\n      [\"count\"]=\u003e\n      int(0)\n    }\n    [\"caption\"]=\u003e\n    string(80) \"Some new swag arrived from @digitalocean sticker department \u003c3 #digitoimistodude\"\n    [\"likes\"]=\u003e\n    object(stdClass)#1213 (1) {\n      [\"count\"]=\u003e\n      int(0)\n    }\n    [\"owner\"]=\u003e\n    object(stdClass)#1214 (2) {\n      [\"username\"]=\u003e\n      string(9) \"wahalahti\"\n      [\"id\"]=\u003e\n      string(10) \"3038518606\"\n    }\n    [\"thumbnail_src\"]=\u003e\n    string(161) \"https://scontent-arn2-1.cdninstagram.com/t51.2885-15/s640x640/sh0.08/e35/13397680_922638724525249_472586061_n.jpg?ig_cache_key=MTI2ODA0MDkyNDYyOTg1MTQxMA%3D%3D.2\"\n    [\"is_video\"]=\u003e\n    bool(false)\n    [\"id\"]=\u003e\n    string(19) \"1268040924629851410\"\n    [\"display_src\"]=\u003e\n    string(145) \"https://scontent-arn2-1.cdninstagram.com/t51.2885-15/e35/13397680_922638724525249_472586061_n.jpg?ig_cache_key=MTI2ODA0MDkyNDYyOTg1MTQxMA%3D%3D.2\"\n  }\n ```\n\n##### `get_the_dude_img_hashfeed_thumbnails`\nReturns string containing all images in html img -tag, `\u003cimg src='thumbnail_src' alt='caption' /\u003e`.\n\n##### `the_dude_img_hashfeed_thumbnails`\nDisplays all images in html img -tag, `\u003cimg src='thumbnail_src' alt='caption' /\u003e`.\n\n#### Hooks\nThere are few filters where you can hook and change functionality of plugin.\n\n##### `dude_img_hashfeed_insta_count`\nChange amount of images to fetch and store. Default value is 10.\n\nUsage is simple; add `add_filter( 'dude_img_hashfeed_insta_count', function() { return 2; } );` to your theme functions.php file.\n\n##### `dude_img_hashfeed_insta_count_{$hashtag}`\nChange amount of images to fetch and store by hashtag. Defaults to `dude_img_hashfeed_insta_count` value.\n\n##### `dude_img_hashfeed_insta_transient_lifetime`\nImages are stored to transient in favor of caching and reducing page load time. By default, lifetime is five minutes and after that new images are fetched from Instagram when calling one of previously listed functions.\n\nUse [WordPress transient expiration syntax](http://codex.wordpress.org/Transients_API#Using_Time_Constants).\n\n##### `dude_img_hashfeed_insta_fetch_parameters`\nBy default we are asking instagram to return timestamp, comment and like counts, caption, author information, image addresses and possible video address. This can be changed, but be aware that `$hashtag` and `$count` are mandatory.\n\n```\nig_hashtag($hashtag) { media.first($count) { count, nodes { caption, code, comments { count }, date, display_src, id, is_video, likes { count }, owner { id, username }, thumbnail_src, video_views, video_url }, page_info } }\n```\n\n### Composer\n\nTo use with composer, run `composer require digitoimistodude/image-hashtag-feed dev-master` in your project directory or add `\"digitoimistodude/image-hashtag-feed\":\"dev-master\"` to your composer.json require.\n\n### Contributing\nIf you have ideas about the theme or spot an issue, please let us know. Before contributing ideas or reporting an issue about \"missing\" features or things regarding to the nature of that matter, please read [Please note section](#please-note-before-using). Thank you very much.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitoimistodude%2Fimage-hashtag-feed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitoimistodude%2Fimage-hashtag-feed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitoimistodude%2Fimage-hashtag-feed/lists"}