All Projects → digitoimistodude → image-hashtag-feed

digitoimistodude / image-hashtag-feed

Licence: GPL-2.0 license
WordPress plugin to get Instagram hashtag feeds working again by bypassing the API.

Programming Languages

PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to image-hashtag-feed

InstaSmart
A Flutter app to plan and beautify your Instagram feed
Stars: ✭ 18 (-41.94%)
Mutual labels:  instagram, instagram-feed
jekyll-instagram
A Jekyll plugin for displaying your recent Instagram photos
Stars: ✭ 24 (-22.58%)
Mutual labels:  instagram, instagram-feed
instastory.js
This is a jQuery plugin to make it easy to get a feed from instagram. No need of access tokens and other stuff, Only thing needed is jQuery.
Stars: ✭ 36 (+16.13%)
Mutual labels:  instagram, instagram-feed
nanogram.js
📷 An easy-to-use and simple Instagram package that allows you to fetch media content without API and access token.
Stars: ✭ 62 (+100%)
Mutual labels:  instagram, instagram-feed
Layoutify-for-Instagram
A Google Chrome Extension which improves the Instagram.com Layout.
Stars: ✭ 75 (+141.94%)
Mutual labels:  instagram, instagram-feed
Instagram-Scraper-2021
Scrape Instagram content and stories anonymously, using a new technique based on the har file (No Token + No public API).
Stars: ✭ 57 (+83.87%)
Mutual labels:  instagram, instagram-feed
spark-ar-creators
List of 9500 (and counting) Spark AR Creators. Open an issue or contact me if you want to be added.❤️
Stars: ✭ 122 (+293.55%)
Mutual labels:  instagram, instagram-feed
Instaloader
Download pictures (or videos) along with their captions and other metadata from Instagram.
Stars: ✭ 3,655 (+11690.32%)
Mutual labels:  instagram, instagram-feed
cherry-framework
100% GNU GPL WordPress framework
Stars: ✭ 102 (+229.03%)
Mutual labels:  wordpress-development
nichtparasoup
nichtparasoup is a web-based hackspaces entertainment system. It continuously displays random images from Reddit & Pr0gramm in your web-browser. Image sources are highly customizable.
Stars: ✭ 39 (+25.81%)
Mutual labels:  instagram
user-instagram
This module allows you to get the data of any user or post on Instagram.
Stars: ✭ 83 (+167.74%)
Mutual labels:  instagram-feed
wp-project-skeleton
A skeleton WordPress project to be used as a base for new WordPress projects.
Stars: ✭ 33 (+6.45%)
Mutual labels:  wordpress-development
wp-tools
Command line interface to reduce boring tasks when working on WordPress plugin / theme project that will be published to wp.org
Stars: ✭ 33 (+6.45%)
Mutual labels:  wordpress-development
Instagram-Auto-Pilot
Automate common Instagram activities such as following, unfollowing, commenting and reposting images from instagram accounts.
Stars: ✭ 50 (+61.29%)
Mutual labels:  instagram-feed
instagram-text-editor
An Instagram like text editor Flutter widget that helps you to change your text style.
Stars: ✭ 66 (+112.9%)
Mutual labels:  instagram
KDInstagram
Instagram Clone built in Swift. Utilize three design patterns in three major modules.
Stars: ✭ 119 (+283.87%)
Mutual labels:  instagram-feed
instagram
Php instagram library. With this library, you can use many of the same features in the mobile application.
Stars: ✭ 45 (+45.16%)
Mutual labels:  instagram-feed
FaceFilter
Snapchat and Instagram like Face Filter.
Stars: ✭ 72 (+132.26%)
Mutual labels:  instagram
IGStoryKit
A simple and super fast framework to post to Instagram stories from your iOS and iPadOS apps
Stars: ✭ 54 (+74.19%)
Mutual labels:  instagram
notion-instagram
Schedule & Publish posts to Instagram from Notion
Stars: ✭ 115 (+270.97%)
Mutual labels:  instagram
‼️ This repository is no longer actively maintained. The plugin still works, but does not receive any further updates other than community contributed fixes.

Image hashtag feed

WordPress plugin to get Instagram hashtag feeds working again by bypassing the API. Handcrafted with love at Digitoimisto Dude Oy, a Finnish boutique digital agency in the center of Jyväskylä.

The Instagram fetcher is based on Instagram-Hashtag-Grabber from Thomas Bolander and settings page is made with excellent Simple Admin Pages library made by Nate Wright.

Table of contents

  1. Please note before using
  2. License
    1. Legal
  3. Usage
    1. Settings
    2. Functions
    3. Hooks
  4. Composer
  5. Contributing

Please note before using

Image 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.

This 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.

Legal

Please be aware that Instagram prohibits crawling, scraping and caching in their TOC. 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.

There has been few court cases in United States, 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.

This being said, use your own consideration whether you wan't to use this plugin.

License

Image hashtag feed is released under the GNU GPL 2 or later.

Usage

Settings

Settings page can be found from Settings -> Image hashtag feed.

From 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.

Functions

Plugin brings few functions to use in your site.

get_the_dude_img_hashfeed_raw

Returns 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.

object(stdClass)#1211 (10) {
    ["code"]=>
    string(11) "BGY_ICpOF0S"
    ["date"]=>
    int(1465382279)
    ["comments"]=>
    object(stdClass)#1212 (1) {
      ["count"]=>
      int(0)
    }
    ["caption"]=>
    string(80) "Some new swag arrived from @digitalocean sticker department <3 #digitoimistodude"
    ["likes"]=>
    object(stdClass)#1213 (1) {
      ["count"]=>
      int(0)
    }
    ["owner"]=>
    object(stdClass)#1214 (2) {
      ["username"]=>
      string(9) "wahalahti"
      ["id"]=>
      string(10) "3038518606"
    }
    ["thumbnail_src"]=>
    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"
    ["is_video"]=>
    bool(false)
    ["id"]=>
    string(19) "1268040924629851410"
    ["display_src"]=>
    string(145) "https://scontent-arn2-1.cdninstagram.com/t51.2885-15/e35/13397680_922638724525249_472586061_n.jpg?ig_cache_key=MTI2ODA0MDkyNDYyOTg1MTQxMA%3D%3D.2"
  }
get_the_dude_img_hashfeed_thumbnails

Returns string containing all images in html img -tag, <img src='thumbnail_src' alt='caption' />.

the_dude_img_hashfeed_thumbnails

Displays all images in html img -tag, <img src='thumbnail_src' alt='caption' />.

Hooks

There are few filters where you can hook and change functionality of plugin.

dude_img_hashfeed_insta_count

Change amount of images to fetch and store. Default value is 10.

Usage is simple; add add_filter( 'dude_img_hashfeed_insta_count', function() { return 2; } ); to your theme functions.php file.

dude_img_hashfeed_insta_count_{$hashtag}

Change amount of images to fetch and store by hashtag. Defaults to dude_img_hashfeed_insta_count value.

dude_img_hashfeed_insta_transient_lifetime

Images 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.

Use WordPress transient expiration syntax.

dude_img_hashfeed_insta_fetch_parameters

By 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.

ig_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 } }

Composer

To 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.

Contributing

If 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. Thank you very much.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].