0

I am trying to post an image to Instagram with Ruby on Rails with gem instagram.

I can get my own access_token.

And https://api.instagram.com/v1/tags/nofilter/media/recent?access_token=ACCESS_TOKEN works well for me.

But I cannot find the way to post an image via instagram apis.

So please help me if any experience with instagram apis. thank you very much.

Dapeng114
  • 207
  • 2
  • 10

1 Answers1

1

Unfortunately, it is not possible to post an image with Instagram API. Their API supports almost only GET calls (except adding a like, comment or relationship).

You can check all endpoints here: Instagram API Docs

MrShemek
  • 2,413
  • 1
  • 16
  • 20
  • It was previously possible and still seems to be allowed for select clients like HootSuite. I'm guessing the POST endpoints where removed to combat spambots. – max Mar 22 '18 at 11:37
  • @max HootSuite and the other applications, they're not automatically, just remindering me to post images `by myself` and `manually` on mobile app - instagram. It's not what i am trying. anw thank you. – Dapeng114 Mar 28 '18 at 08:20
  • They did actually post straight to Instagram at one point, but I guess the endpoint has been removed completely. For mobile apps you still have “intents” which is what you are describing. – max Mar 28 '18 at 08:29
  • @Dapeng114 how are you going with this? I am working on using this https://developers.facebook.com/docs/instagram-api/content-publishing/#publish-photos – Joe Bloggos Sep 13 '18 at 21:20