ErrorxCode / EasyInsta

A Java library of Instagram's private API and wrapper of instagram4j. Surf Instagram programmatically, build bots, and a lot more. Just a line of code for every operation.
Apache License 2.0
47 stars 10 forks source link

getFollowRequest isn't working more #4

Closed rafhaelrc closed 2 years ago

rafhaelrc commented 2 years ago

The method getFollowRequests isn't working. I tried to use it and the return always is 0. I verified in my personal account by instagram and i have some requests that the users haven't accept yet.

How i can solve it?

Thanks

ErrorxCode commented 2 years ago

Which request are you talking about ? It is for following request which comes on private account. Have you tested on private account ?

Please first let me know and then I will proceed with this issue.

On Thu 3 Feb, 2022, 8:23 PM Rafhael Cunha, @.***> wrote:

The method getFollowRequests isn't working. I tried to use it and the return always is 0. I verified in my personal account by instagram and i have some requests that the users haven't accept yet.

How i can solve it?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/ErrorxCode/EasyInsta/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/APWEVDTBMXENKEI3RV2E5KLUZKJGTANCNFSM5NPEYJGQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

rafhaelrc commented 2 years ago

I'm talking about it : https://errorxcode.github.io/docs/easyinsta/com/xcoder/easyinsta/Instagram.html#getFollowRequests(com.xcoder.easyinsta.OnCompleteCallback)

This method should return a list that contains the names of the users that my account asked to follow and it didn't accept. Shouldn't it?

rafhaelrc commented 2 years ago

When i use this method, always the result is zero. The list always returns empty.

ErrorxCode commented 2 years ago

This method should return a list that contains the names of the users that my account asked to follow and it didn't accept. Shouldn't it?

No. This method does not return the name of users "that your account has asked to follow", Instead, it returns the list of pending follow requests that other has asked you to follow.

It is clearly stated in the docs:

Gets the pending follow requests. Empty list if none found but Never null.

These requests are those requests which are sent when we follow a private account. So here, it is returning an empty list because there are no follow requests on your account.