Instagram API - User photos

后端 未结 5 1489
迷失自我
迷失自我 2021-01-12 17:59

does anyone know can I get photos from instagram user without using access token. It doesn\'t make sense that I see photos on http://instagram.com/{user} but can not get t

5条回答
  •  我在风中等你
    2021-01-12 18:48

    There are 2 ways to get data

    1) client side - you need to give client_id

    2) server side - you need to give access_token

    https://api.instagram.com/v1/users/#{instagram_id}/media/recent/?access_token=#{@token}"
    

    this will give you the recent uploaded photo of that user whose instagram_id is given...

提交回复
热议问题