Issue 206 in python-twitter: GetFollowerIDs() is not working

80 views
Skip to first unread message

python-...@googlecode.com

unread,
Aug 16, 2011, 9:34:31 AM8/16/11
to python-twi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

python-...@googlecode.com

unread,
Nov 12, 2011, 9:00:11 AM11/12/11
to python-twi...@googlegroups.com

Comment #1 on issue 206 by lmu...@gmail.com: GetFollowerIDs() is not working
http://code.google.com/p/python-twitter/issues/detail?id=206

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

python-...@googlecode.com

unread,
Dec 3, 2011, 4:38:01 AM12/3/11
to python-twi...@googlegroups.com
Updates:
Status: Fixed

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

python-...@googlecode.com

unread,
Feb 6, 2012, 7:03:10 AM2/6/12
to python-twi...@googlegroups.com

Comment #3 on issue 206 by mour...@gmail.com: GetFollowerIDs() is not
working
http://code.google.com/p/python-twitter/issues/detail?id=206

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?

python-...@googlecode.com

unread,
Feb 29, 2012, 6:54:30 PM2/29/12
to python-twi...@googlegroups.com

Comment #4 on issue 206 by ja...@jasonwiener.com: GetFollowerIDs() is not
working
http://code.google.com/p/python-twitter/issues/detail?id=206

shouldn't the fix really be?:

url = '%s/followers/ids.json' % self.base_url


python-...@googlecode.com

unread,
Mar 14, 2013, 10:50:35 PM3/14/13
to python-twi...@googlegroups.com

Comment #5 on issue 206 by nikhil.b...@gmail.com: GetFollowerIDs() is not
working
http://code.google.com/p/python-twitter/issues/detail?id=206

I am unable to edit the twitter.py file. And the only difference I can see
is the URL is 'https://api.twitter.com/1/followers/ids.json' instead
of 'http://api.twitter.com/1/followers/ids.json'

https instead of http. Is that the only difference? Or do I need to change
some other URL?

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages