Instagram API 和导入照片而无需服务器端身份验证

问题描述:

我对使用 Instagram API 在网站中实现的某些功能感到有些困惑.我想根据我的用户 ID 从 Instagram API 访问我自己的提要,并将它们显示在我的网站上.据说有一种方法可以进行客户端 OAuth 身份验证,但我对如何进行此操作感到有些困惑.我对 JavaScript 还算满意,如果有人能指出我正确的方向,我相信我能弄明白.

I am a bit confused on a certain functionality I would like to implement into a website using the Instagram API. I would like to access my own feed based on my user ID from the Instagram API and display them on my site. It is saying that there is a way to do client side OAuth authentication but I am a bit confused on how I would go about this. I am fairly okay with JavaScript and if someone could point me in the right direction I am sure I could figure it out.

任何最佳做法都会很棒.

Any best practices would be great.

先谢谢你,

JN

您在询问如何对 Instagram 使用客户端(隐式)身份验证.

You're asking how to use Client-Side (Implicit) Authentication for Instagram.

这里有几个为它制作的 JS 库:

Here are a couple JS libraries made for it:

  1. https://github.com/Instagram/instagram-javascript-sdk
  2. https://github.com/potomak/jquery-instagram