Ayrshare Supports Direct Posting to Instagram

šŸ„³ It’s time to party with Instagram! šŸ„³

One of the most user requested Ayrshare features has been direct Instagram API posting.

Well, some exciting news! After a through, and long, review process, Ayrshare has been approved by Instagram for direct posting. Now you can post directly to Instagram via Ayrshare’s API.

What does this mean for you and your users?

  • No more 3rd party integrations, i.e. Zapier. You and your users have a simpler set-up process, faster posting, and better status reporting.
  • The posting limit increased significantly. Previous, you were only able to post 100 images a month. Now you can post upward of 750 a month, including videos.
  • And speaking of videos, you can now post videos with the new Instagram integration.

And now with the new integration, we’ll be adding even more capabilities such as Instagram analytics.

How to Link to Instagram

Linking your Instagram account is easy. Just head to the Ayrshare Dashboard and connect your Instagram account:

Setting up Instagram API

It is that simple and easy!

Posting to Instagram via the API

Once you are connected, you can start posting to Instagram via the Ayrshare’s API:

const fetch = require("node-fetch");
const API_KEY = "API_KEY";
const media_url = "https://images.ayrshare.com/imgs/GhostBusters.jpg";

fetch("https://app.ayrshare.com/api/post", {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
        "Authorization": Bearer ${API_KEY}
      },
      body: JSON.stringify({
        post: "Today is a great day!", // required
        platforms: ["instagram"], // required
        media_urls: [media_url]
      }),
    })
    .then((res) => res.json())
    .then((json) => console.log(json))
    .catch(console.error);

Of course you can use one of our many packages to make like easier.

Enjoy posting! šŸš€šŸš€šŸš€