-
Notifications
You must be signed in to change notification settings - Fork 5
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
Issue with Following #11
Comments
there is an error in my code with unreachable code. The print() in follow() and unfollow(). But it has no relevancy to the issue, just thought i'd point out that i already fixed that issue. |
I can successfully grab a profile using the code using prof = bot.profile_endpoint.of_user("therock") however, when i try to follow the profile using bot.profile_endpoint.follow(prof) It doesn't work, and returns False (when you print the line above) |
One more thing. I have tested both Followers and Following Endpoints, and have no issues with either so far. |
I seemed to have solve the issue (sorta). def profile_endpoint(self):
return endpoints.factory.create("profile", self.api) By using the above code, replacing: self.profile_endpoint = self.endpoints.factory.create("profile", self.api) and by referring to the endpoint as bot.profile_endpoint() Though i dont see why i couldnt use my original code... please correct me if i am wrong! |
Above is my code
Above is what i want to work, but cant get to work
Above is a way around the issue i made, but it is really inconvenient...
Please help!
The text was updated successfully, but these errors were encountered: