Re: 'Api' object has no attribute 'GetPublicTimeline'

740 views
Skip to first unread message

bear

unread,
Feb 22, 2013, 10:19:25 AM2/22/13
to python-...@googlegroups.com
That's just it - they don't have a method anymore to do that.  They want everyone to use the Search methods to *sample* the public stream.


On Fri, Feb 22, 2013 at 7:43 AM, takeshi honda <moec...@gmail.com> wrote:
I got an error message, like,
'Api' object has no attribute 'GetPublicTimeline'.
 
The document says it is removed, but I want to know what to use instead of it.
 
What is the exact method name of new version of 'GetPublicTimeline' in python-twitter?

--
You received this message because you are subscribed to the Google Groups "python-twitter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-twitte...@googlegroups.com.
To post to this group, send email to python-...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-twitter?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Bear

be...@xmpp.org (email)
bea...@gmail.com (xmpp, email)
be...@code-bear.com (xmpp, email)
http://code-bear.com/bearlog (weblog)

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822 40B3 CD29

bear

unread,
Feb 22, 2013, 4:52:13 PM2/22/13
to python-...@googlegroups.com
Twitter is slowly changing the older API by removing certain features - one of the major ones for most people was the removing of any Public Stream methods.  Now in order to see anything that is not in your own timeline (or someone you follow) you need to use either the Search methods or one of their newer streaming APIs

Until I (we) convert python-twitter to the new v1.1 API you will need to use GetSearch() to retrieve the public timeline


On Fri, Feb 22, 2013 at 4:29 PM, <hemalaksh...@gmail.com> wrote:
Hi,
I get the same error message. Can you please explain more about it. This is the first time I am using twitter api.
@ Mr. Bear - Your explanation is much appreciated please.


On Friday, February 22, 2013 4:43:26 AM UTC-8, takeshi honda wrote:
I got an error message, like,
'Api' object has no attribute 'GetPublicTimeline'.
 
The document says it is removed, but I want to know what to use instead of it.
 
What is the exact method name of new version of 'GetPublicTimeline' in python-twitter?

--
You received this message because you are subscribed to the Google Groups "python-twitter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-twitte...@googlegroups.com.
To post to this group, send email to python-...@googlegroups.com.
Visit this group at http://groups.google.com/group/python-twitter?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

rakesh mukundan

unread,
May 21, 2013, 6:34:00 AM5/21/13
to python-...@googlegroups.com
Hi All,

As per the new twitter API 1.1, 'GetPublicTimeline' has been removed. So its no longer possible to get latests tweets.

New recommendation from twitter is to use GET statuses/sample which will give u a sample set of tweets from all the publically available tweets.

Could you specify what exactly you wanted to achieve? So that a better answer can be given?

-----
Rakesh Mukundan
http://www.rakeshmukundan.in/


On Mon, May 20, 2013 at 10:56 PM, <axel.c...@gmail.com> wrote:
I have the same error but i think this group is so useful all the answers are so "elite" 'cause anyone explain how to, guive an example of how or whatever this is so sad, i supose this group is to solve douts not "to feel elite" answeriing abstractly...

El viernes, 22 de febrero de 2013 06:43:26 UTC-6, takeshi honda escribió:
I got an error message, like,
'Api' object has no attribute 'GetPublicTimeline'.
 
The document says it is removed, but I want to know what to use instead of it.
 
What is the exact method name of new version of 'GetPublicTimeline' in python-twitter?

--
You received this message because you are subscribed to the Google Groups "python-twitter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-twitte...@googlegroups.com.
To post to this group, send email to python-...@googlegroups.com.

arkkit...@gmail.com

unread,
Sep 10, 2014, 5:07:24 PM9/10/14
to python-...@googlegroups.com
Hi,

I was using api.GetuserTimeline('username') to get an specific #post from my user, this works.
When trying to use statuses = api.GetPublicTimeline('otherusername') as confirmed above it says it has not attribute. I understand that this is not longer available in the API.

How can I get a specific #post from a user? Is this posible? I am able to make it work by using mine, but how someone else?

Thanks,
Reply all
Reply to author
Forward
0 new messages