instagram-api

Instagram API: Retrieve IDs/names of friends who have liked the user's posted Instagram images

天涯浪子 提交于 2021-02-19 07:46:12
问题 We’re building an application where a user logs with Instagram API, accepts the permissions dialog and receives a personalised ‘dynamic story’ based on various data they allow us to read. We’re hoping to display the user’s ‘top friends’ who have liked images that the user has posted onto their Instagram feed. Is there any way we could go about doing this? Many thanks, Matt 回答1: Use this API to get all your followers: https://api.instagram.com/v1/users/self/followed-by?access_token=ACCESS

Instagram API: Retrieve IDs/names of friends who have liked the user's posted Instagram images

白昼怎懂夜的黑 提交于 2021-02-19 07:45:39
问题 We’re building an application where a user logs with Instagram API, accepts the permissions dialog and receives a personalised ‘dynamic story’ based on various data they allow us to read. We’re hoping to display the user’s ‘top friends’ who have liked images that the user has posted onto their Instagram feed. Is there any way we could go about doing this? Many thanks, Matt 回答1: Use this API to get all your followers: https://api.instagram.com/v1/users/self/followed-by?access_token=ACCESS

React Swiper with Dynamic Content

三世轮回 提交于 2021-02-19 02:04:25
问题 I'm making a carousel with images from Instagram using react-id-swiper. The Swiper component doesn't seem to be updating after the response. I thought that putting my setState inside componentWillMount would work but apparently not. When I open the inspector in Chrome it starts working? import React, { Component } from 'react' import Swiper from 'react-id-swiper' import request from 'superagent' import './index.css' const swiperParams = { slidesPerView: 5, spaceBetween: 0, navigation: {

How to retrieve comments from a media in instagram?

为君一笑 提交于 2021-02-16 08:53:30
问题 I'm working on a project which aims to analyse instagram users' posts. I have a list of users and for each of them I have to crawl the recent media with the number of likes, comments and the text of comments. By using the recent media endpoint I've achieved some user media (of my user, using the access_token associated to my account). The result only gives the number of comments per media, but not the text. So I selected some media_id from this output and tryied to retrieve the comments

Instagram Basic Display API Error - Invalid scope: ['basic'] OR Invalid redirect_uri

跟風遠走 提交于 2021-02-08 15:15:54
问题 I'm using Magento 2.4.1, installed Social Login Extension and getting below error while login to Instagram, I'm using Hybrid auth libraries to login. "error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: ['basic']"} You can check the screenshot below, Instagram.php <?php /*! * HybridAuth * http://hybridauth.sourceforge.net | https://github.com/hybridauth/hybridauth * (c) 2009-2012 HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html */ namespace Vendor

Instagram Basic Display API Error - Invalid scope: ['basic'] OR Invalid redirect_uri

孤街浪徒 提交于 2021-02-08 15:14:27
问题 I'm using Magento 2.4.1, installed Social Login Extension and getting below error while login to Instagram, I'm using Hybrid auth libraries to login. "error_type": "OAuthException", "code": 400, "error_message": "Invalid scope: ['basic']"} You can check the screenshot below, Instagram.php <?php /*! * HybridAuth * http://hybridauth.sourceforge.net | https://github.com/hybridauth/hybridauth * (c) 2009-2012 HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html */ namespace Vendor

Instagram empty string for every bio in user object

ぃ、小莉子 提交于 2021-02-08 13:34:13
问题 I've tried, both via an API library in Python and the API console that Instagram and apigee.com provide. I use the request: GET /tags/tag-name/media/recent . I tried ferrari tag. All results populate perfectly, except the bio field of the user for each media result from the tag request. Here are a couple of result snippets: "full_name": "AвтоСпаСтудия", "bio": "", "id": "435889630" ... "full_name": "jacky_mitchell", "bio": "", "id": "1527609678" They all have blank bio fields. The website

Python Instagram login using requests

给你一囗甜甜゛ 提交于 2021-02-08 06:16:00
问题 I am trying to login to Instagram with python. I am able to get the csrf Token but the requests.Session().post() doesn't seem to post the login data to the website correctly. I always get the class="no-js not-logged-in client-root" . I've been searching for a while and also tried to login into some random sites which seemed to work. In the login method I just start a requests.Session() and make a post request to the https://www.instagram.com/accounts/login/ with the login name and password as

Python Instagram login using requests

◇◆丶佛笑我妖孽 提交于 2021-02-08 06:15:06
问题 I am trying to login to Instagram with python. I am able to get the csrf Token but the requests.Session().post() doesn't seem to post the login data to the website correctly. I always get the class="no-js not-logged-in client-root" . I've been searching for a while and also tried to login into some random sites which seemed to work. In the login method I just start a requests.Session() and make a post request to the https://www.instagram.com/accounts/login/ with the login name and password as

Python Instagram login using requests

流过昼夜 提交于 2021-02-08 06:14:38
问题 I am trying to login to Instagram with python. I am able to get the csrf Token but the requests.Session().post() doesn't seem to post the login data to the website correctly. I always get the class="no-js not-logged-in client-root" . I've been searching for a while and also tried to login into some random sites which seemed to work. In the login method I just start a requests.Session() and make a post request to the https://www.instagram.com/accounts/login/ with the login name and password as