简体   繁体   中英

Post images, videos, Gallery/Album to Instagram using Instagram Developer API

I am using a PHP application and i want to post Images, Videos, Image/Video Gallery programatically using Instagram API.

how can i accomplish the same using https://www.instagram.com/developer/ ?

As of June 29, 2020 , Instagram has official API by Facebook:

Facebook Instagram API

From the document above:

Common Uses

  • getting and managing published photos, videos, and stories
  • getting basic data about other Instagram Business users and Creators
  • moderating comments and their replies
  • measuring media and profile interaction
  • discovering hashtagged media
  • discovering @mentions

Limitations

  • The API cannot access Instagram consumer accounts (ie, non-Business or non-Creator Instagram accounts). If you are building an app for consumer users, use the Instagram Basic Display API instead.
  • IGTV and Reels are not supported.
  • ordering results is not supported
  • all endpoints support cursor-based pagination, but the User Insights edge is the only endpoint that supports time-based pagination

For media (image, video) control, IG Media is the API:

It seems that Instagram API only contains reading methods, and I haven't seen any ability to upload new video

IG Media node allows you to:

  • get metadata for individual media objects
  • toggle comments on or off for individual media objects
  • create comments on individual media objects
  • get all child media objects in an album carousel
  • get all comments for individual media objects
  • get all insights for individual media objects

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM