Re: [twitter-dev] Twitter Streaming API blocked user
Hi Taylor, What about no retweets from this user information? I wasn't able to find an API call that would provide me this information, apparently it's not available inside the status or user objects either. -- Cezar Sá Espinola On Wed, May 18, 2011 at 11:30 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Fabien, The Streaming API/Site Streams/User Streams don't support certain kinds of post-filter user settings like blocked users/no retweets from this user/etc. -- if you want to provide that filtering, you can keep an index of the users they block and filter in real time. http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids. @episod http://twitter.com/episod - Taylor Singletary On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.comwrote: Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter Streaming API blocked user
Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter Streaming API blocked user
Hi Fabien, The Streaming API/Site Streams/User Streams don't support certain kinds of post-filter user settings like blocked users/no retweets from this user/etc. -- if you want to provide that filtering, you can keep an index of the users they block and filter in real time. http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids. @episod http://twitter.com/episod - Taylor Singletary On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.comwrote: Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter Streaming API blocked user
Thanks Taylor, I wish the streaming did, is that planned at all in the future? Don't want to code something if you guys are planning it soon :) On Wed, May 18, 2011 at 7:30 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Fabien, The Streaming API/Site Streams/User Streams don't support certain kinds of post-filter user settings like blocked users/no retweets from this user/etc. -- if you want to provide that filtering, you can keep an index of the users they block and filter in real time. http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids. @episod - Taylor Singletary On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.com wrote: Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Twitter Streaming API blocked user
Another one : It would be nice to have those events in the stream (new blocked user / removal of a blocked user) so we don't need to fetch those through the REST API once our streaming process is running. On Wed, May 18, 2011 at 10:27 AM, Fabien Penso fabienpe...@gmail.com wrote: Thanks Taylor, I wish the streaming did, is that planned at all in the future? Don't want to code something if you guys are planning it soon :) On Wed, May 18, 2011 at 7:30 AM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Fabien, The Streaming API/Site Streams/User Streams don't support certain kinds of post-filter user settings like blocked users/no retweets from this user/etc. -- if you want to provide that filtering, you can keep an index of the users they block and filter in real time. http://dev.twitter.com/doc/get/blocks/blocking/ids to get the ids. @episod - Taylor Singletary On Tue, May 17, 2011 at 11:33 PM, Fabien Penso fabienpe...@gmail.com wrote: Hi, I'm using the streaming API (sitestream) and one of my user @thecivvie blocked @fabientest but if @fabientest tweets, I see those tweets for @thecivvie coming. Is that an implementation bug, is it supposed to be like this, or have I missed something? Thanks. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter Streaming API Returning retweet_count and retweeted incorrectly?
Hey All, I built a a small ruby app using the TweetStream gem to monitor a few hash tags on twitter and have had it running inside a daemon without a problem for a week or two. Starting earlier this afternoon, for some reason, whenever a Tweet that's Retweeted comes in, the *retweeted_status* element will be there with the corresponding retweet data, but the value for * retweeted* is always be false, and the value for *retweet_count* is always zero. Any ideas on why this would be happening? Thanks, Sendhil -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter streaming API using oauth with tracks that have spaces?
Try ui-encoding them first, my understanding of the Twitter OAuth signature validation is that it is non-standard (although there appears to be debate about this) I suspect if you encode them first before signing the url it will start to work -cj. On Tue, Nov 9, 2010 at 6:11 PM, dan dfran...@gmail.com wrote: I've been having trouble connecting to the streaming API using oauth if my tracks have spaces. I get 401s (unauthorized). In all cases, the same code works if the tracks don't have spaces. In Java: tried twitter4j (http://twitter4j.org/jira/browse/TFJ-420) and tweetstream4j (http://stackoverflow.com/questions/4129622/ connecting-to-twitter-streaming-api-with-tracks-with-spaces-using- apache-httpclie) In Python: tried tweepy (https://github.com/joshthecoder/tweepy/ issues#issue/64) The Twitter example using curl (http://dev.twitter.com/pages/ streaming_api_methods#track) works with tracks that have spaces, but it's basic auth. I am wondering if some oauth encoding versus POST param encoding is not working out. Can someone point me to a code example in Java or Python that is known to work connecting to the Twitter streaming API using oauth that has spaces in its tracks? Thanks in advance. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter streaming API using oauth with tracks that have spaces?
Think of it this way.. a valid POST body already must contain application/x-www-form-urlencoded encoded values for the body to be valid. Normalizing spaces to %20, and avoiding + is also a best practice. OAuth kicks in after you've already constructed a valid POST body. Here's an example of tracking a term with a space character in it: twitter api == POST Body track=twitter%20api == signature_base_string POSThttp%3A%2F%2Fstream.twitter.com %2F1%2Fstatuses%2Ffilter.jsonoauth_consumer_key%3Dri8JxYK2ddwSV5xIUfNNvQ%26oauth_nonce%3DQKWqIP8eEedgOPk5ujopscNxqeoafDNC0r6TZyLFM%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1289400791%26oauth_token%3D819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw%26oauth_version%3D1.0%26track%3Dtwitter%2520api == Authorization Header Authorization: OAuth oauth_nonce=QKWqIP8eEedgOPk5ujopscNxqeoafDNC0r6TZyLFM, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1289400791, oauth_consumer_key=ri8JxYK2ddwSV5xIUfNNvQ, oauth_token=819797-torCkTs0XK7H2Y2i1ee5iofqkMC4p7aayeEXRTmlw, oauth_signature=jaEvelmcrQOkHdWADBvwZsQeGiQ%3D, oauth_version=1.0 Taylor On Wed, Nov 10, 2010 at 1:38 AM, Ciaran ciar...@gmail.com wrote: Try ui-encoding them first, my understanding of the Twitter OAuth signature validation is that it is non-standard (although there appears to be debate about this) I suspect if you encode them first before signing the url it will start to work -cj. On Tue, Nov 9, 2010 at 6:11 PM, dan dfran...@gmail.com wrote: I've been having trouble connecting to the streaming API using oauth if my tracks have spaces. I get 401s (unauthorized). In all cases, the same code works if the tracks don't have spaces. In Java: tried twitter4j (http://twitter4j.org/jira/browse/TFJ-420) and tweetstream4j (http://stackoverflow.com/questions/4129622/ connecting-to-twitter-streaming-api-with-tracks-with-spaces-using- apache-httpclie) In Python: tried tweepy (https://github.com/joshthecoder/tweepy/ issues#issue/64) The Twitter example using curl (http://dev.twitter.com/pages/ streaming_api_methods#track) works with tracks that have spaces, but it's basic auth. I am wondering if some oauth encoding versus POST param encoding is not working out. Can someone point me to a code example in Java or Python that is known to work connecting to the Twitter streaming API using oauth that has spaces in its tracks? Thanks in advance. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter streaming API using oauth with tracks that have spaces?
I've been having trouble connecting to the streaming API using oauth if my tracks have spaces. I get 401s (unauthorized). In all cases, the same code works if the tracks don't have spaces. In Java: tried twitter4j (http://twitter4j.org/jira/browse/TFJ-420) and tweetstream4j (http://stackoverflow.com/questions/4129622/ connecting-to-twitter-streaming-api-with-tracks-with-spaces-using- apache-httpclie) In Python: tried tweepy (https://github.com/joshthecoder/tweepy/ issues#issue/64) The Twitter example using curl (http://dev.twitter.com/pages/ streaming_api_methods#track) works with tracks that have spaces, but it's basic auth. I am wondering if some oauth encoding versus POST param encoding is not working out. Can someone point me to a code example in Java or Python that is known to work connecting to the Twitter streaming API using oauth that has spaces in its tracks? Thanks in advance. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Twitter Streaming API rate limiting frequency-track
You can test new keywords with a default access account to get an idea of their velocity, then roll it into your main account. Exactitude isn't helpful, as word frequency varies as the tweet volume varies. The limit rates are fixed and have not changed in over a year. -John Kalucki http://twitter.com/jkalucki Twitter, Inc. On Wed, Aug 25, 2010 at 11:04 PM, Karthik K karthikkato...@gmail.comwrote: Hi, Since there is no per keyword rate limiting in streaming api, adding one keyword which gets lot of tweets can limit the data of low frequency keywords. What is the frequency at which data is limited at different access levels?Is it constant or keeps changing? If this is known we can find the frequency of a keyword before tracking using another stream or search api and add it only if the sum is not exceeding the maximum. Please confirm whether this is a good strategy for such situation? Thanks, Karthik -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
Re: [twitter-dev] Twitter Streaming API rate limiting frequency-track
Thanks John, but my application needs to add/remove keywords on a regular basis, and i am planning an algorithm which does something like calculate current frequency for main account which is near approximation for the current time (calculating based on last 10 mins,1 hr,1 day frequencies) and on adding a new keyword it increases. I cant find a way to determine when to stop adding new keyword without knowing an upper limit. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en
[twitter-dev] Twitter Streaming API 401
Hi, I'm getting a lot of 401 errors on the streaming api using the sample method. I am using basic authentication through the username clarity_li. I am backing off as suggested in the documentation, with an initial wait of 10 seconds, doubling each 4xx error and capping at 240 seconds. I can't work out why this is happening, it usually works for a few minute before this happens, if I get disconnected intentionally I wait 1 second before reconnecting, if there is a network error I follow the guidelines in the documentation. The only other reason supplied in the docs which could be causing this is if the client is too slow, but I am on a 100mbps university internet connection and take approximately 1ms to process each incoming tweet. I would be very grateful for any help. Regards, Ben
Re: [twitter-dev] Twitter Streaming API 401
I can see from the logs that, on at least one occasion, your account was logging in too often and was login rate limited. Log in once and keep the connection open as long as possible. If you keep churning the connection, you'll get limited, and eventually banned. -John Kalucki http://twitter.com/jkalucki Twitter Inc. On Thu, Aug 12, 2010 at 12:26 PM, benofsky b...@benmcredmond.com wrote: Hi, I'm getting a lot of 401 errors on the streaming api using the sample method. I am using basic authentication through the username clarity_li. I am backing off as suggested in the documentation, with an initial wait of 10 seconds, doubling each 4xx error and capping at 240 seconds. I can't work out why this is happening, it usually works for a few minute before this happens, if I get disconnected intentionally I wait 1 second before reconnecting, if there is a network error I follow the guidelines in the documentation. The only other reason supplied in the docs which could be causing this is if the client is too slow, but I am on a 100mbps university internet connection and take approximately 1ms to process each incoming tweet. I would be very grateful for any help. Regards, Ben
[twitter-dev] Twitter streaming api
I'm using the Twitter Streaming api (Ror TwitterStream) , and I'm setting the client to follow a set of user accounts (using the account IDs). But it seems like I'm getting tweets from accounts I don't follow . Did anyone ever encounter this before ?
Re: [twitter-dev] Twitter streaming api
Are you getting retweets of the specified users by other users? Please send an example query and an example tweet markup that was delivered, but shouldn't have been delivered. -John Kalucki http://twitter.com/jkalucki Twitter Inc. On Thu, Aug 5, 2010 at 5:03 PM, Idoshilon idoshi...@gmail.com wrote: I'm using the Twitter Streaming api (Ror TwitterStream) , and I'm setting the client to follow a set of user accounts (using the account IDs). But it seems like I'm getting tweets from accounts I don't follow . Did anyone ever encounter this before ?
[twitter-dev] Twitter Streaming API - Connection Refused
Since early morning today(EST), we are not able to connect to streaming API - LinkHose. We are getting the following response to our connection: (111, 'Connection refused') Is anyone else facing similar issue? Thank you
Re: [twitter-dev] Twitter Streaming API - Connection Refused
I cannot reproduce this problem and the aggregate statistics on stream.twitter.com look normal. Please email your account, ip address, the exact time of an example failure in UTC, and also a sample curl -v run to api at twitter dot com. -John Kalucki http://twitter.com/jkalucki Twitter Inc. On Fri, Jul 9, 2010 at 5:11 AM, worksapp v...@worksapp.com wrote: Since early morning today(EST), we are not able to connect to streaming API - LinkHose. We are getting the following response to our connection: (111, 'Connection refused') Is anyone else facing similar issue? Thank you