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

What is the API Endpoints for the Feeds "People who liked my posts" and "Activities from my followings" #42

Closed
chrisyeung1121 opened this issue Sep 26, 2016 · 13 comments

Comments

@chrisyeung1121
Copy link

AS Topic.

@huttarichard
Copy link
Collaborator

https://github.com/huttarichard/instagram-private-api/blob/master/client/v1/media.js#L80

activities are not really implemented, you need to implement this by your self, should not be hard with Request class...

@huttarichard
Copy link
Collaborator

or better make na pull request ;)

@chrisyeung1121
Copy link
Author

chrisyeung1121 commented Sep 26, 2016

I try to use proxy to see what is the URL endpoint for activities (both
"people who liked my posts" and "posts liked by my followings") but the proxy
only shows i.instagram.com. Cannot find out what the real endpoint is. any
advice on this?

@huttarichard
Copy link
Collaborator

what device you have, where do you run instagram?

@huttarichard
Copy link
Collaborator

checkout readme there is an charles debug proxy section...

@chrisyeung1121
Copy link
Author

chrisyeung1121 commented Sep 26, 2016

I run instagram on iphone and use Charles to be the proxy. Since Instagram has
SSL on so the path is confiscated

@huttarichard
Copy link
Collaborator

then install charles root certificate https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/

@chrisyeung1121
Copy link
Author

Pages not found for https://github.com/huttarichard/instagram-private-api/blob/master/charlesproxy.com

@huttarichard
Copy link
Collaborator

@chrisyeung1121
Copy link
Author

If you need to sniff traffic to see what your phone is doing and see the available endpoints I strongly recommend Charles Debug Proxy. Easiest combination for me is iPhone + Charles. iPhone allows you to redirect all your traffic to your local machine and then you can inspect what is going on by putting Charles in middle. Traffic is encrypted by SSL, so you need to install Charles root certificate first.

in this section.

@huttarichard
Copy link
Collaborator

yep. install root certificate, put charles in middle. Open ssl proxies settings in charles and then add i.instagram.com and you are good to go

@chrisyeung1121
Copy link
Author

Got it

it's https://i.instagram.com/api/v1/news/ and https://i.instagram.com/api/v1/news/inbox

@huttarichard
Copy link
Collaborator

@chrisyeung1121 good job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants