chalkpe / fetch-instagram

Fetch recent posts on Instagram by tag

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fetch-instagram license Standard - JavaScript Style Guide

Fetch recent posts on Instagram by tag

Usage

$ yarn && yarn start
$ curl http://localhost:2409/foo+bar
{
  "url": "foo+bar",
  "result": [
    {
      "tag": "foo",
      "posts": [
        {
          "text": "Hello world #foo #awesome #yay",
          "image": "https://scontent-lht6-1.c…711036_n.jpg",
          "link": "https://www.instagram.com/p/BUOuPvNvgMO/",
          "tags": ["foo", "awesome", "yay"]
        }
      ],
      "date": "2018-08-02T20:56:37.458Z"
    },
    {
      "tag": "bar",
      "posts": [
        {
          "text": "Test #bar #sigong #joa",
          "image": "https://scontent-lht6-1.c…421227_n.jpg",
          "link": "https://www.instagram.com/p/BUQNzCchWoC/",
          "tags": ["bar", "sigong", "joa"]
        }
      ],
      "date": "2018-08-02T20:56:37.458Z"
    }
  ]
}

License

MIT

About

Fetch recent posts on Instagram by tag

License:MIT License


Languages

Language:JavaScript 100.0%