Questions tagged [instagram]

Experience a user-friendly photo-sharing platform where you can snap photos, enhance them with digital filters, and effortlessly share them across various social networking platforms.

The Instagram Basic Display API encounters an issue when processing a request for a user profile that does

Following the migration of our code from legacy api to basic display, we encountered an issue where no media is being retrieved for users who have not set their age in their profile. Instead, we are consistently receiving the following error: { "err ...

Utilize API or alternative methods for analyzing Instagram data

My master's thesis requires me to dissect multiple Instagram profiles, each containing over 1000 posts. I am in need of a comprehensive list including the following details: Type of Post (Image, Multi Image, Video) Description Likes Comments (total c ...

Tips for implementing PHP Instagram Signature using AJAX

I'm facing a challenge with the latest Instagram API, which now requires an Enforced Signed request that includes both an Access Token and Client Secret to generate a Signature. If anyone could spare some time to help me out, I would greatly appreciate it ...

Troubleshooting session persistence post-redirect

Learning PHP has been quite a journey for me, especially when it comes to working with SESSIONS. I recently started using the Instagram API and managed to successfully authorize an app, redirecting to a page to display content. Organized in my main folde ...

Automate the process of interacting with Instagram buttons by utilizing selenium

Recently started dabbling in Python and attempting to create an Instagram bot using selenium. I'm struggling to make the code progress past the login button and 'not now' button. from time import sleep from selenium import webdriver browser = webdriver.F ...

unable to decipher a JSON file obtained from Instagram

I have been working on a project that involves parsing a JSON file obtained from the Instagram API. However, I am facing an issue where I can parse the data but I cannot read it properly in my code: <!DOCTYPE html> <html> <head> <meta ...

What is the best way to click in Selenium while dealing with autoplay videos?

Currently, I am working on a Java code in Eclipse that involves using Selenium to find and download Instagram Stories of a user onto my computer. While I have successfully been able to download all the photos from the stories window, I have encountered sev ...

What are the top strategies for streamlining your Instagram automation process?

Recently, I have delved into the world of Instagram automation in hopes of finding a way to automate likes and comments. After thorough research, I have compiled a list of possible solutions: One option is to utilize a browser automation library such a ...

NodeJS tutorial on obtaining the Instagram username and access token

How do I retrieve the username and access token after a user logs in using Instagram-passport for my app login? I'm having trouble accessing the 'profile' in the middleware section. //serialize user in the session passport.serializeUser(fun ...

What is the best way to extract real-time photos from Instagram posts?

After subscribing to the #tattoo tag with Instagram's real-time API, everything seems to be working smoothly. However, I am facing an issue regarding extracting the actual uploaded image from the post data that is received in the following format: [{"chan ...

Python Script for Automatically Following and Liking on Instagram

I'm experimenting with an Instagram follow/like bot as a Python beginner. Here is a snippet of code that I have been using: try: time.sleep(15) driver.refresh() time.sleep(3) if len(driver.find_elements_by_class_name('fr66n')) > 0: p ...

Find Instagram posts between specified dates using the Instagram Graph API

I am facing an issue while trying to fetch media posts from last month on an Instagram Business profile that I manage. Despite using 'since' and 'until' parameters, the API is returning posts outside of the specified time range. The AP ...

Automate file uploading in a window using Selenium with Python

Having trouble uploading a photo to Instagram with send_keys() method. name_input = driver.find_element_by_name('username') name_input.send_keys(user[0]) password_input = driver.find_element_by_name('password') password_input.send_key ...

A guide on extracting text using json.loads in Python

Having encountered issues with my Instagram username retrieval algorithm occasionally returning 'p' instead of the actual name, I am working on implementing an exception handling code block to address this specific scenario (especially within the if statem ...

Significant delay (10 seconds or more) encountered when making a file_get_contents() request to retrieve Instagram content

I'm currently troubleshooting an issue with a piece of code that fetches Instagram pictures dynamically and displays them on a webpage. The problem is that this process is causing a significant delay in the page load time, ranging from 10 to 12 seconds. ...

Is there a way for me to obtain the client ID and redirect URL after a user logs in to Instagram via my website?

My goal is for users to be able to easily import their images into my website. After reviewing their documentation, I found that they authenticate a user by providing a response code through the following URL: However, this URL only provides me with a co ...

A guide on initiating a Curl request

Seeking assistance with Instagram authentication code in PHP and Curl. In order to request the access_token, you need to follow these steps: Step Three: Request the access_token To exchange the code for an access token, you must POST the code along with ...

Exploring ways to retrieve nested values from JSON data using the Instagram API and Javascript

Trying to modify the script found at https://github.com/bigflannel/bigflannel-Instafeed in order to access Instagram photos on a website. Unfortunately, the script does not currently support displaying photo comments. I attempted to make modifications that ...

Watch an Instagram video retrieved from a public API and enjoy the content!

I've been exploring solutions on SO for displaying Instagram videos using the public api ?__a=1 method. While I came across a helpful question that pointed me in the right direction, I still faced some challenges. Once I retrieve user media, I check in my ...

The method to extract the followers of an Instagram account using node.js, cheerio, and InstAuto/Puppeteer

Currently, I am attempting to develop a program that generates lists of users who follow specific profiles, and vice versa. Since the Instagram graph API is now inactive, this task has become quite challenging. Despite identifying the correct div element, ...

What is the best way to extract the created_time field from this Instagram JSON object?

After receiving this JSON data, I noticed that the created_time value displays the time in integer format instead of a proper time format. How can I convert the created_time into the correct format? "filter"=>"Normal", "created_time"=>"1421677966" ...

How to use PHP code to decode Instagram URLs and return Null values

Can anyone help with an issue regarding json_decode from Instagram URL? When using the following URL , it returns Null in PHP. $newwul = "http://www.instagram.com/username/?__a=1"; $xo = connect($newwul); $xx = json_decode($xo,tru ...

Are you familiar with the guidelines for automating Instagram?

Looking to develop an Instagram follower bot as a service, but unsure of the rules governing actions such as delay between clicking on the follow button or limits on accounts per IP address. Can anyone provide insight into these rules or suggest where I m ...

What is the best way to leave a comment on a user's Instagram post using Senium?

Currently, I am utilizing the Selenium library in Python to execute a code that emulates typical human actions on Instagram. However, this particular action seems to be unattainable, almost as if Instagram has prohibited it altogether. I am attempting to ...

Hovering over the Instagram icon will reveal a stunning visual effect

I am looking to change the appearance of my Instagram icon when hovering over it. I want the background to turn white and the icon to become colored. Here is my code snippet from Footer.js : <a href="https://www.instagram. ...

Currently caught up creating an Instagram bot

Here is the code snippet I have been working on: import time from selenium import webdriver from selenium.webdriver.common.keys import Keys # initiating browser session browser = webdriver.Chrome() browser.get("https://instagram.com") time.sleep ...

Experiencing difficulties launching InstaPy

After successfully setting up selenium and geckodriver to work with firefox, I decided to give InstaPy a try for the first time. With firefox installed, I was able to launch the browser, go to Instagram, and log in with the code snippet below: browser ...

Tips for executing embedded scripts within templates

I am using a controller to display the Instagram embedded code <div class="instagram_here" [innerHtml]="instagram_embeded_code"></div> However, it is only showing a blank Instagram block. https://i.stack.imgur.com/gNPDL.png I suspect there m ...

Guide on accessing public post information through Instagram Graph API using PHP

Seeking guidance on initiating the use of the Graph API to fetch fundamental public details from an Instagram account, such as account name, likes, post date, image URL, and description. While I successfully accomplished this task with the Instagram API, ...

Guide to extracting video views from Instagram JSON data

I'm currently working on extracting the likes count, comments count, and video views from Instagram JSON data. While I've been able to successfully retrieve likes and comments counts, I'm having trouble figuring out how to access the video views data. Li ...

Using Python's Selenium to automate tasks on Instagram

Currently, I am attempting to perform web scraping on Instagram using Selenium. Specifically, my aim is to log in using the following address with Selenium. On this particular page, the input field for 'username' is structured as shown below: ...

Extracting Instagram post dates

While attempting to scrape Instagram for the most recent post dates, I encountered an issue using Selenium. When trying to locate a specific date element using get_element_by_xpath, I received an "element not found" error message. I even attempted scroll ...