Comments (2)
Hey there! I'm glad you appreciate the project, even though it's not my proudest I made to to learn javascript and Next.js.
Regarding your question on discovering the GraphQL API and the requestData object, it all comes down to testing and exploring using the developer tools. Here's the breakdown of the process:
- Open the developer tools with
F12
orCtrl + Shift + I
and navigate to the Networks tab. - Check each request and its response by either reading it directly or searching for keywords of what you are looking for like "posts," "feed," or "media."
- The specific endpoint used in the project was found by toggling the
Responsive Design Mode
in the developer tools which goes to mobile mode and this request popped in my network tab. - Regarding the
requestData
, I just copied the exact structure from the network tab and began experimenting by tweaking and modifying its parameters. - Determining the data types was done using transform tools website were I just pasted the JSON and got the type.
In summary, continuous testing and exploration in the network tab or script elements are key. Sometimes, data is directly inserted into the script elements without a separate fetch.
Thank you for your kind words about the project! If you have further questions, feel free to ask.
from instagram-video-downloader.
Hey there! I'm glad you appreciate the project, even though it's not my proudest I made to to learn javascript and Next.js.
Regarding your question on discovering the GraphQL API and the requestData object, it all comes down to testing and exploring using the developer tools. Here's the breakdown of the process:
- Open the developer tools with
F12
orCtrl + Shift + I
and navigate to the Networks tab.- Check each request and its response by either reading it directly or searching for keywords of what you are looking for like "posts," "feed," or "media."
- The specific endpoint used in the project was found by toggling the
Responsive Design Mode
in the developer tools which goes to mobile mode and this request popped in my network tab.- Regarding the
requestData
, I just copied the exact structure from the network tab and began experimenting by tweaking and modifying its parameters.- Determining the data types was done using transform tools website were I just pasted the JSON and got the type.
In summary, continuous testing and exploration in the network tab or script elements are key. Sometimes, data is directly inserted into the script elements without a separate fetch.
Thank you for your kind words about the project! If you have further questions, feel free to ask.
Thank you for your patience!
from instagram-video-downloader.
Related Issues (14)
- Secret Option Require to access HOT 4
- [Error]: Video link for this post is not public. HOT 3
- Facebook Version HOT 1
- iPhone Save to Photos or Files
- Some reels does not load.
- Always return "The video download link for this post is not available" HOT 6
- Please add image support. HOT 1
- API JSON HOT 4
- The video download link for this post is not available. HOT 1
- is it possible to extend this app to support downloading reels ? HOT 3
- Deployed Application is not working HOT 1
- This post is private or does not exist False error HOT 1
- How to install in ubuntu 20 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagram-video-downloader.