'Twython' object has no attribute 'getPublicTimeline' #119

Closed
opened 2012-09-23 08:09:47 -07:00 by hugovk · 1 comment
hugovk commented 2012-09-23 08:09:47 -07:00 (Migrated from github.com)

I don't need to use this method, but I noticed in the wiki and core_examples an apparently removed function: getPublicTimeline().

>>> from twython import Twython
>>> twitter = Twython()
>>> public_timeline = twitter.getPublicTimeline()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Twython' object has no attribute 'getPublicTimeline'

If getPublicTimeline() has been removed, the example code and wiki should be updated. Thanks!

I don't need to use this method, but I noticed in the wiki and core_examples an apparently removed function: `getPublicTimeline()`. - https://github.com/ryanmcgrath/twython/wiki/Timeline-Access - https://github.com/ryanmcgrath/twython/blob/master/core_examples/public_timeline.py ``` >>> from twython import Twython >>> twitter = Twython() >>> public_timeline = twitter.getPublicTimeline() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Twython' object has no attribute 'getPublicTimeline' ``` If `getPublicTimeline()` has been removed, the example code and wiki should be updated. Thanks!
jvanasco commented 2012-09-27 06:55:04 -07:00 (Migrated from github.com)

According to Twitter's docs, this has been removed from their API:

https://dev.twitter.com/docs/api/1/get/statuses/public_timeline

So yes, the code needs to be removed.

According to Twitter's docs, this has been removed from their API: ``` https://dev.twitter.com/docs/api/1/get/statuses/public_timeline ``` So yes, the code needs to be removed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#119
No description provided.