Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem finding x-instagram-ajax #68

Closed
teskaro opened this issue Dec 15, 2022 · 5 comments
Closed

problem finding x-instagram-ajax #68

teskaro opened this issue Dec 15, 2022 · 5 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@teskaro
Copy link

teskaro commented Dec 15, 2022

I found everything with the inspector except s-instagram-ajax.

how to find s-instagram-ajax?

@Argusf28
Copy link

Argusf28 commented Jan 1, 2023

Did you find any solution? Just founf the fetcherd doesnt work since Dec 22, and I have no idea where to find x-instagram-ajax

@teskaro
Copy link
Author

teskaro commented Jan 1, 2023

Nope sorry.

@Argusf28
Copy link

Argusf28 commented Jan 5, 2023

Found it!

1 - Log into instagram.com in a web browser like Chrome
2 - Open your dev console with F12, and click the Network tab at the top
3 - Refresh your browser tab so the page re-runs some network requests
4 - Click the "Fetch/XHR" sub-header in dev tools to filter results in your network tab to just AJAX requests
5 - Click a request in the results view, and look at the "Headers" section in the right, the "Request Headers" section should have an entry with your x-instagram-ajax value (may need to look at a couple requests to find one with it)

I had to replace all the values of Settings in order toge it working. However, after 2 days it started giving me errors and had to update the values again. Hope there was a way to auto update those values, otherwise, this scrip wont be useful anymore.

@fifson1
Copy link

fifson1 commented Jan 7, 2023

Found it!

1 - Log into instagram.com in a web browser like Chrome 2 - Open your dev console with F12, and click the Network tab at the top 3 - Refresh your browser tab so the page re-runs some network requests 4 - Click the "Fetch/XHR" sub-header in dev tools to filter results in your network tab to just AJAX requests 5 - Click a request in the results view, and look at the "Headers" section in the right, the "Request Headers" section should have an entry with your x-instagram-ajax value (may need to look at a couple requests to find one with it)

I had to replace all the values of Settings in order toge it working. However, after 2 days it started giving me errors and had to update the values again. Hope there was a way to auto update those values, otherwise, this scrip wont be useful anymore.

You use run by trigger or run script yourself?

@chriskyfung
Copy link
Owner

Fix with #73

@chriskyfung chriskyfung added the invalid This doesn't seem right label Feb 14, 2023
@chriskyfung chriskyfung added this to the Library v7 milestone Feb 5, 2024
@chriskyfung chriskyfung self-assigned this Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants