Closed Muhammed-Rajab closed 2 years ago
thanks for your pr. please remove unrelated changes, or it's hard for me to see what your changes are
I'm deeply sorry. I think my code formatter messed up. I will change that soon.
I made a new pull request after disabling my code formatter. Hope that helps.
Summary
Problem faced: Can't fetch userId of a username to pass into getFollowersOrFollowing function.
Solution: Added navigateToUserAndGetData to the returning object of Instauto
Detailed
I was trying to fetch the list of following and followers of myself. In order to do that, getFollowersOrFollowing requires you to pass the userId. But there function required to fetch userId and other user details weren't exposed through the object returned by Instauto.