Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 863 Bytes

instagram.md

File metadata and controls

34 lines (25 loc) · 863 Bytes

Instagram

Setup

We are not using the official Instagram API but this private Instagram API, because the official Instagram API doesn't allow you to post things on your account.

In your settings.json file, you'll need to add the following configuration object to the actions property:

"actions": {
  "instagram": {
    "account": "johndoe",
    "password": "pony123"
  }
}

Usage

curl -X POST -H "Content-Type: application/json" -d '{
  "media": "/path/to/image.jpg"
  "caption": "I love ponies !"
}' "http://localhost:6060/api/v1/actions/instagram"

Options

name type required description
media string × path to the image you want to share
caption string optionnal caption

Only JPG files are supported for now