New issue 206 by halka.r...@gmail.com: GetFollowerIDs() is not working
http://code.google.com/p/python-twitter/issues/detail?id=206
What steps will reproduce the problem?
1. Authorize account
2. Call GetFollowerIDs()
3. print return of GetFollowerIDs()
here is code
followers=api.GetFollowerIDs()
print followers
What is the expected output? What do you see instead?
{u'errors': [{u'message': u'Not authorized to use this endpoint', u'code':
37}]}
What version of the product are you using? On what operating system?
python-twitter 0.8.2, ubuntu 10.10(64bit), Python 2.6
Please provide any additional information below.
GetFriendIDs() is working.
In Lines 2963 in "twitter.py", URL seems old.
I rewrote GetFollowerIDs(). (GetFriendIDs () was referring to.)
I attached this one. "getfollowerids.py".
Please check.(I confirmed this to working correctly.)
Attachments:
getfollowerids.py 798 bytes
if you change line 2963 to:
url = 'http://api.twitter.com/1/followers/ids.json'
this function works again. looks like its just an old url from earlier
versions of the twitter api
Comment #2 on issue 206 by bear42: GetFollowerIDs() is not working
http://code.google.com/p/python-twitter/issues/detail?id=206
committed changeset 235:cec8703b7782
I do edit the file but it is not working. Can you provide a step to step
guide of changing that line and then reloading the module?
shouldn't the fix really be?:
url = '%s/followers/ids.json' % self.base_url