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

Get current follow requestbyuser #41

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Xaeed
Copy link

@Xaeed Xaeed commented Dec 27, 2020

No description provided.

@Xaeed
Copy link
Author

Xaeed commented Jan 15, 2021

@mifi any timeline to merge this PR or is anything you want to change ?

async function getCurrentFollowRequests() {
const url = `${instagramBaseUrl}/accounts/access_tool/current_follow_requests`;
await page.goto(url);
const viewMoreClass = '.L3NKy';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is very safe to do? looks like some generated value that might change

);
await Promise.all(
usernames.map(async (name) => {
await addCurrentFollowRequest(name);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to save each of these to a file? isn't it enough to return it?

@mifi
Copy link
Owner

mifi commented Jan 22, 2021

Also I'm not sure if we need a complete separate example just for that function. Can just add it to the main example

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

Successfully merging this pull request may close these issues.

2 participants