bug report: TwitterUser.following/followedBy

2 views
Skip to first unread message

George Ludwig

unread,
May 9, 2011, 5:49:52 PM5/9/11
to jt...@googlegroups.com
Daniel,

When I follow a user with Twitter.follow(screenName) and then check the result by inspecting Twitter.User user=Twitter.show(screenName),
the wrong boolean has been set. The "following" instance variable is set true, rather than "followedBy".

The result is that after I follow a user and check that user, it appears they are following me rather than me following them I.e. user.isFollowing()==true and user.isFollowedByYou()==false, rather than the other way around.

I have confirmed at twitter.com that I am correctly following the other user, so it doesn't appear that I am forcing them to follow me ;)

Best,

George

Daniel Winterstein

unread,
May 12, 2011, 1:05:21 PM5/12/11
to jt...@googlegroups.com
Hi George,

You're quite right - thanks for alerting me. I've fixed that now
(version 2.1.2), and changed the method names to be clearer.

User.isFollowing() is now User.isFollowingYou()

Note: this is not backwards compatible, though it should be trivial
for people to patch.

Best regards
- Daniel

--
--------------------------------------------------
Daniel Winterstein
Edinburgh
http://winterwell.com   http://soda.sh

George Ludwig

unread,
May 12, 2011, 3:38:02 PM5/12/11
to jt...@googlegroups.com
Many thanks!
Reply all
Reply to author
Forward
0 new messages