Get Instagram Pictures by Hashtag
Get Instagram pics, no API key required
- Using unofficial Instagram API (no API key required)
- Download thumbnails in different sizes: 150x150, 240x240, 320x320, 480x480, 640x640
- Relies on Image node to download & display images
Requirements
[{"id":"1c6fea37.4aa6ce","type":"tab","label":"instagram thumbnails","disabled":false,"info":""},{"id":"d96a4a00.81bbd","type":"inject","z":"1c6fea37.4aa6ce","name":"hashtag: selfie","topic":"","payload":"selfie","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":150,"y":160,"wires":[["b53580dc.7bc198"]]},{"id":"f5fba92a.9e8858","type":"http request","z":"1c6fea37.4aa6ce","name":"download JSON from URL","method":"GET","ret":"obj","paytoqs":false,"url":"","tls":"","persist":false,"proxy":"","authType":"","x":740,"y":160,"wires":[["b60fadc.bbba25","8fa37c9a.9dcf8","2a79bfc8.5c03","3570a420.f82c5c","4d4eed86.6f8444"]]},{"id":"b53580dc.7bc198","type":"template","z":"1c6fea37.4aa6ce","name":"construct instagram tag URL","field":"url","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"https://www.instagram.com/explore/tags/{{{payload}}}/?__a=1","output":"str","x":440,"y":160,"wires":[["f5fba92a.9e8858"]]},{"id":"b60fadc.bbba25","type":"change","z":"1c6fea37.4aa6ce","name":"extract thumbnail url","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.graphql.hashtag.edge_hashtag_to_media.edges[0].node.thumbnail_resources[0].src","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":160,"wires":[["2d113f53.b1ec68"]]},{"id":"8fa37c9a.9dcf8","type":"change","z":"1c6fea37.4aa6ce","name":"extract thumbnail url","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.graphql.hashtag.edge_hashtag_to_media.edges[0].node.thumbnail_resources[1].src","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":260,"wires":[[]]},{"id":"2a79bfc8.5c03","type":"change","z":"1c6fea37.4aa6ce","name":"extract thumbnail url","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.graphql.hashtag.edge_hashtag_to_media.edges[0].node.thumbnail_resources[3].src","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":460,"wires":[[]]},{"id":"17a9d4e6.e0b4fb","type":"comment","z":"1c6fea37.4aa6ce","name":"150x150","info":"","x":1120,"y":120,"wires":[]},{"id":"3f27cc3a.f081d4","type":"comment","z":"1c6fea37.4aa6ce","name":"240x240","info":"","x":1120,"y":220,"wires":[]},{"id":"eb0fb5ab.ab4aa8","type":"comment","z":"1c6fea37.4aa6ce","name":"480x480","info":"","x":1120,"y":420,"wires":[]},{"id":"1a21d498.f6229b","type":"comment","z":"1c6fea37.4aa6ce","name":"320x320","info":"","x":1120,"y":320,"wires":[]},{"id":"3570a420.f82c5c","type":"change","z":"1c6fea37.4aa6ce","name":"extract thumbnail url","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.graphql.hashtag.edge_hashtag_to_media.edges[0].node.thumbnail_resources[2].src","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":360,"wires":[[]]},{"id":"4d4eed86.6f8444","type":"change","z":"1c6fea37.4aa6ce","name":"extract thumbnail url","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.graphql.hashtag.edge_hashtag_to_media.edges[0].node.thumbnail_resources[4].src","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1160,"y":560,"wires":[["5af490fb.97ffe"]]},{"id":"e906172c.b1772","type":"comment","z":"1c6fea37.4aa6ce","name":"640x640","info":"","x":1120,"y":520,"wires":[]},{"id":"5af490fb.97ffe","type":"image viewer","z":"1c6fea37.4aa6ce","name":"download and preview","width":"640","data":"payload","dataType":"msg","x":1460,"y":560,"wires":[[]]},{"id":"2d113f53.b1ec68","type":"image viewer","z":"1c6fea37.4aa6ce","name":"download and preview","width":"150","data":"payload","dataType":"msg","x":1460,"y":160,"wires":[[]]},{"id":"f388bf72.e6e2a","type":"comment","z":"1c6fea37.4aa6ce","name":"download thumbnails in different sizes","info":"","x":230,"y":100,"wires":[]}]