Re: [twitter-dev] How to get Following count of user
It is showing page not found error On Fri, Dec 18, 2009 at 10:05 AM, Abraham Williams 4bra...@gmail.comwrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-users show there is a followers_count element. Abraham On Thu, Dec 17, 2009 at 22:03, Gaurav Shaha gauravshah...@gmail.comwrote: Hello All, I am sending request to http://twitter.com/statuses/friends/'.$user.'.xml?cursor=-1http://twitter.com/statuses/friends/%27.$user.%27.xml?cursor=-1 url for getting the following list. I am not able to get the count of the following. Also i had read that this url provide only 100 records so how can i get all the follwer count of twitter user ($user) ? How can i get it? Thank you in advance. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing -- Abraham Williams | Awesome Lists | http://bit.ly/sprout608 Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
Re: [twitter-dev] How to get Following count of user
On Fri, Dec 18, 2009 at 2:09 AM, Gaurav Shaha gauravshah...@gmail.com wrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-users show there is a followers_count element. Yeah, that doc's not coming up right now. It looks like this: $ curl http://api.twitter.com/1/users/show/nightmare49.xml; 21 | grep followers_count followers_count10/followers_count --- -damon
Re: [twitter-dev] How to get Following count of user
thank you, but i want following count. does friends_count mean following count??? On Fri, Dec 18, 2009 at 1:54 PM, Damon Clinkscales sca...@pobox.com wrote: On Fri, Dec 18, 2009 at 2:09 AM, Gaurav Shaha gauravshah...@gmail.com wrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-usersshow there is a followers_count element. Yeah, that doc's not coming up right now. It looks like this: $ curl http://api.twitter.com/1/users/show/nightmare49.xml; 21 | grep followers_count followers_count10/followers_count --- -damon -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] Re: API Versioning Revisited
Except RT, Geo and Lists are all in the version 1 API directory On Dec 18, 4:43 am, Abraham Williams 4bra...@gmail.com wrote: So say Geo is version 3, RT is version 4 and Lists is version 5. All of which are still in beta. If something goes wrong with Geo do they revert to 2 and disable RTs and Lists? Abraham On Thu, Dec 17, 2009 at 21:03, Dewald Pretorius dpr...@gmail.com wrote: Josh, This will not protect us against a case where something central to Twitter functioning malfunctions, but it will protect us against new or changed features malfunctioning. Dewald On Dec 17, 10:45 pm, Josh Roesslein jroessl...@gmail.com wrote: I am not sure how beneficial this would really be. Versioning from what I understand is for changes to the API that might break applications that have not yet updated. It wouldn't really provide any security against bugs/quirks in Twitter's backend which can cause downtime. So even older versions might be affected just as much as newer versions because down under they both use the same code, its just exposed differently from version to version. I have no idea how things work under the covers so maybe this could work. I'd take any security against down time I can get. :) Josh On Thu, Dec 17, 2009 at 8:35 PM, Dewald Pretorius dpr...@gmail.com wrote: The yo-yo ride of the retweet API gave me this idea. It depends on proper versioning of the API by Twitter. Twitter creates an API call that returns the current working API version. We query that method and use that version of the API for our calls. If something goes down, Twitter simply pushes out the version number of an older API version, which is still working correctly. Our systems will then automatically fall back to using that older version, until Twitter again pushes out the new version number when it's back online. Dewald -- Abraham Williams | Awesome Lists |http://bit.ly/sprout608 Project | Intersect |http://intersect.labs.poseurtech.com Hacker |http://abrah.am|http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States
Re: [twitter-dev] How to get Following count of user
Friends are the users the specified account follows. Followers are the users that follow the specified account. Abraham On Fri, Dec 18, 2009 at 04:46, Gaurav Shaha gauravshah...@gmail.com wrote: thank you, but i want following count. does friends_count mean following count??? On Fri, Dec 18, 2009 at 1:54 PM, Damon Clinkscales sca...@pobox.comwrote: On Fri, Dec 18, 2009 at 2:09 AM, Gaurav Shaha gauravshah...@gmail.com wrote: Try using: http://apiwiki.twitter.com/Twitter-REST-API-Method:-usersshow there is a followers_count element. Yeah, that doc's not coming up right now. It looks like this: $ curl http://api.twitter.com/1/users/show/nightmare49.xml; 21 | grep followers_count followers_count10/followers_count --- -damon -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing -- Abraham Williams | Awesome Lists | http://bit.ly/sprout608 Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States
[twitter-dev] Re: Desktop App oAuth GET request with valid accesstoken returns 401 Unauthorized
We are still trying with no luck :-(. Is somebody from Twitter listening who could help us here? I think we are making some little mistake which is blocking us. It's really frustrating. Maybe if somebody could check at server side and let us know if our encoding or string formation or what might be the issue. Please help!!! Does it matter from which region (country) we are trying to make these calls? I hope not. We are trying this from India. Some more things we tried: 1. We put Authorization in header as below (once with oauth_signature encoded and once without encoded, we get two different error codes, see below for detail): -Header without oauth_signature encoded {User-Agent: Testweet Content-Type: application/x-www-form-urlencoded Authorization: OAuth realm=Twitter API,oauth_consumer_key=--- removed---,oauth_nonce=68f3e3ca5d7440e5bac6cbc08029d817,oauth_signature_method=HMAC- SHA1,oauth_timestamp=1261129193,oauth_token=--- removed---,oauth_version=1.0,oauth_signature=uVAiNwVqoSa8FFqZ/HRN/ rwhod0= } We get following error: {Status: 500 Internal Server Error Vary: Accept-Encoding Connection: close Content-Length: 4684 Cache-Control: no-cache, max-age=300 Content-Type: text/html; charset=utf-8 Date: Fri, 18 Dec 2009 09:40:27 GMT Expires: Fri, 18 Dec 2009 09:45:27 GMT Set-Cookie: _twitter_sess=xxx; domain=.twitter.com; path=/ Server: hi } -Header with oauth_signature encoded {User-Agent: TestTweet Content-Type: application/x-www-form-urlencoded Authorization: OAuth realm=Twitter API,oauth_consumer_key=--- removed---,oauth_nonce=88b3f32da1fe46c7af8581f63e869c14,oauth_signature_method=HMAC- SHA1,oauth_timestamp=1261129414,oauth_token=--- removed---,oauth_version=1.0,oauth_signature=h %2FHxJ9zS0UWISrh4T2762u5paA0%3D } We get following error: {Status: 401 Unauthorized Vary: Accept-Encoding Connection: close Content-Length: 148 Cache-Control: no-cache, max-age=1800 Content-Type: application/xml; charset=utf-8 Date: Fri, 18 Dec 2009 09:44:13 GMT Expires: Fri, 18 Dec 2009 10:14:13 GMT Set-Cookie: _twitter_sess=xxx; path=/ Server: hi WWW-Authenticate: Basic realm=Twitter API } Thank On Dec 15, 6:52 pm, Sanjay shosansha...@gmail.com wrote: Any Idea out there? I tried following to no avail: a. Did the entire process (starting from registering the app and generating consumer key/secret to getting Access Token/secret. Works fine till I get Access Token Secret b. When I copy/paste complete URL in browser's address bar, it prompts
[twitter-dev] Some links are throwing DNS error - cannot find server
Is it at my end or others are also facing this? I am getting DNS error - cannot find server for following urls - http://apiwiki.twitter.com/, http://help.twitter.com/forums/31935/entries, http://help.twitter.com/forums/10713/entries. I can log in and see timeline meaning twitter is available but these links are giving errors. Status says there was an outage some 3 hours back. Is it because of this?
[twitter-dev] Re: hits, visits, etc to my tweets
What a bit.ly kink? How do I get and apply one to my tweet? On Dec 17, 10:01 am, Terry Jones te...@jon.es wrote: Frank == Frank gn...@windstream.net writes: Frank Is there any way the number of hits on my tweet? I am interested Frank only in the number of folks who have viewed or visited ... not the Frank names nor the numbers of posts? This might include mostly Frank unregistered viewers If your tweet includes a bit.ly link, you can go to the bit.ly URL with a + sign appended, and see stats there. Terry
Re: [twitter-dev] Some links are throwing DNS error - cannot find server
DNS was attacked yesterday or last night. Issues are probably still ongoing/being sorted out. ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Fri, Dec 18, 2009 at 5:18 AM, Sanjay shosansha...@gmail.com wrote: Is it at my end or others are also facing this? I am getting DNS error - cannot find server for following urls - http://apiwiki.twitter.com/, http://help.twitter.com/forums/31935/entries, http://help.twitter.com/forums/10713/entries. I can log in and see timeline meaning twitter is available but these links are giving errors. Status says there was an outage some 3 hours back. Is it because of this?
Re: [twitter-dev] Re: hits, visits, etc to my tweets
http://lmgtfy.com/?q=bit.lyl=1 ∞ Andy Badera ∞ +1 518-641-1280 Google Voice ∞ This email is: [ ] bloggable [x] ask first [ ] private ∞ Google me: http://www.google.com/search?q=andrew%20badera On Fri, Dec 18, 2009 at 6:42 AM, Frank gn...@windstream.net wrote: What a bit.ly kink? How do I get and apply one to my tweet? On Dec 17, 10:01 am, Terry Jones te...@jon.es wrote: Frank == Frank gn...@windstream.net writes: Frank Is there any way the number of hits on my tweet? I am interested Frank only in the number of folks who have viewed or visited ... not the Frank names nor the numbers of posts? This might include mostly Frank unregistered viewers If your tweet includes a bit.ly link, you can go to the bit.ly URL with a + sign appended, and see stats there. Terry
[twitter-dev] List of Follower
How to get list of user followers without asking my password(i.e. authentication) Thank you in advance, currently i am using request url as http://twitter.com/statuses/followers.xml; which need username as well as password. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing
[twitter-dev] Re: Desktop App oAuth GET request with valid accesstoken returns 401 Unauthorized
Sanjay, There are several really good .NET libraries that handle OAuth already. I would give TweetSharp a look to see if it meets your needs. You might also want to look at TwitterVB. http://tweetsharp.com http://twittervb.codeplex.com On Dec 18, 5:01 am, Sanjay shosansha...@gmail.com wrote: We are still trying with no luck :-(. Is somebody from Twitter listening who could help us here? I think we are making some little mistake which is blocking us. It's really frustrating. Maybe if somebody could check at server side and let us know if our encoding or string formation or what might be the issue. Please help!!! Does it matter from which region (country) we are trying to make these calls? I hope not. We are trying this from India. Some more things we tried: 1. We put Authorization in header as below (once with oauth_signature encoded and once without encoded, we get two different error codes, see below for detail): -Header without oauth_signature encoded {User-Agent: Testweet Content-Type: application/x-www-form-urlencoded Authorization: OAuth realm=Twitter API,oauth_consumer_key=--- removed---,oauth_nonce=68f3e3ca5d7440e5bac6cbc08029d817,oauth_signature_ method=HMAC- SHA1,oauth_timestamp=1261129193,oauth_token=--- removed---,oauth_version=1.0,oauth_signature=uVAiNwVqoSa8FFqZ/HRN/ rwhod0= } We get following error: {Status: 500 Internal Server Error Vary: Accept-Encoding Connection: close Content-Length: 4684 Cache-Control: no-cache, max-age=300 Content-Type: text/html; charset=utf-8 Date: Fri, 18 Dec 2009 09:40:27 GMT Expires: Fri, 18 Dec 2009 09:45:27 GMT Set-Cookie: _twitter_sess=xxx; domain=.twitter.com; path=/ Server: hi } -Header with oauth_signature encoded {User-Agent: TestTweet Content-Type: application/x-www-form-urlencoded Authorization: OAuth realm=Twitter API,oauth_consumer_key=--- removed---,oauth_nonce=88b3f32da1fe46c7af8581f63e869c14,oauth_signature_ method=HMAC- SHA1,oauth_timestamp=1261129414,oauth_token=--- removed---,oauth_version=1.0,oauth_signature=h %2FHxJ9zS0UWISrh4T2762u5paA0%3D } We get following error: {Status: 401 Unauthorized Vary: Accept-Encoding Connection: close Content-Length: 148 Cache-Control: no-cache, max-age=1800 Content-Type: application/xml; charset=utf-8 Date: Fri, 18 Dec 2009 09:44:13 GMT Expires: Fri, 18 Dec 2009 10:14:13 GMT Set-Cookie: _twitter_sess=xxx; path=/ Server: hi WWW-Authenticate: Basic realm=Twitter API } Thank On Dec 15, 6:52 pm, Sanjay shosansha...@gmail.com wrote: Any Idea out there? I tried following to no avail: a. Did the entire process (starting from registering the app and generating consumer key/secret to getting Access Token/secret. Works fine till I get Access Token Secret b. When I copy/paste complete URL in browser's address bar, it prompts
Re: [twitter-dev] List of Follower
That is because you a re not specifying the user whose followers you want. Have a look at the parameters section: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0followers On Fri, Dec 18, 2009 at 07:47, Gaurav Shaha gauravshah...@gmail.com wrote: How to get list of user followers without asking my password(i.e. authentication) Thank you in advance, currently i am using request url as http://twitter.com/statuses/followers.xml; which need username as well as password. -- Warm Regards, Gaurav Shaha 9823359549. Don't try to show off, just be youself and do what you ENJOY doing -- Abraham Williams | Awesome Lists | http://bit.ly/sprout608 Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States
Re: [twitter-dev] Re: API Versioning Revisited
Correct. I presented a hypothetical issue of a hypothetical solution. Abraham On Fri, Dec 18, 2009 at 05:07, Rich rhyl...@gmail.com wrote: Except RT, Geo and Lists are all in the version 1 API directory On Dec 18, 4:43 am, Abraham Williams 4bra...@gmail.com wrote: So say Geo is version 3, RT is version 4 and Lists is version 5. All of which are still in beta. If something goes wrong with Geo do they revert to 2 and disable RTs and Lists? Abraham On Thu, Dec 17, 2009 at 21:03, Dewald Pretorius dpr...@gmail.com wrote: Josh, This will not protect us against a case where something central to Twitter functioning malfunctions, but it will protect us against new or changed features malfunctioning. Dewald On Dec 17, 10:45 pm, Josh Roesslein jroessl...@gmail.com wrote: I am not sure how beneficial this would really be. Versioning from what I understand is for changes to the API that might break applications that have not yet updated. It wouldn't really provide any security against bugs/quirks in Twitter's backend which can cause downtime. So even older versions might be affected just as much as newer versions because down under they both use the same code, its just exposed differently from version to version. I have no idea how things work under the covers so maybe this could work. I'd take any security against down time I can get. :) Josh On Thu, Dec 17, 2009 at 8:35 PM, Dewald Pretorius dpr...@gmail.com wrote: The yo-yo ride of the retweet API gave me this idea. It depends on proper versioning of the API by Twitter. Twitter creates an API call that returns the current working API version. We query that method and use that version of the API for our calls. If something goes down, Twitter simply pushes out the version number of an older API version, which is still working correctly. Our systems will then automatically fall back to using that older version, until Twitter again pushes out the new version number when it's back online. Dewald -- Abraham Williams | Awesome Lists |http://bit.ly/sprout608 Project | Intersect |http://intersect.labs.poseurtech.com Hacker |http://abrah.am|http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States -- Abraham Williams | Awesome Lists | http://bit.ly/sprout608 Project | Intersect | http://intersect.labs.poseurtech.com Hacker | http://abrah.am | http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States
[twitter-dev] Re: API Versioning Revisited
I see your point. Scratch that idea. Dewald On Dec 18, 12:43 am, Abraham Williams 4bra...@gmail.com wrote: So say Geo is version 3, RT is version 4 and Lists is version 5. All of which are still in beta. If something goes wrong with Geo do they revert to 2 and disable RTs and Lists? Abraham On Thu, Dec 17, 2009 at 21:03, Dewald Pretorius dpr...@gmail.com wrote: Josh, This will not protect us against a case where something central to Twitter functioning malfunctions, but it will protect us against new or changed features malfunctioning. Dewald On Dec 17, 10:45 pm, Josh Roesslein jroessl...@gmail.com wrote: I am not sure how beneficial this would really be. Versioning from what I understand is for changes to the API that might break applications that have not yet updated. It wouldn't really provide any security against bugs/quirks in Twitter's backend which can cause downtime. So even older versions might be affected just as much as newer versions because down under they both use the same code, its just exposed differently from version to version. I have no idea how things work under the covers so maybe this could work. I'd take any security against down time I can get. :) Josh On Thu, Dec 17, 2009 at 8:35 PM, Dewald Pretorius dpr...@gmail.com wrote: The yo-yo ride of the retweet API gave me this idea. It depends on proper versioning of the API by Twitter. Twitter creates an API call that returns the current working API version. We query that method and use that version of the API for our calls. If something goes down, Twitter simply pushes out the version number of an older API version, which is still working correctly. Our systems will then automatically fall back to using that older version, until Twitter again pushes out the new version number when it's back online. Dewald -- Abraham Williams | Awesome Lists |http://bit.ly/sprout608 Project | Intersect |http://intersect.labs.poseurtech.com Hacker |http://abrah.am|http://twitter.com/abraham This email is: [ ] shareable [x] ask first [ ] private. Sent from Bloomington, IN, United States
Re: [twitter-dev] Re: URLification
This might be relevant to your interests: http://daringfireball.net/2009/11/liberal_regex_for_matching_urls Something definitely changed in the twitter web front-end code which is borking url matching as of a month or so ago... -Chad On Fri, Dec 18, 2009 at 2:44 AM, Harshad RJ harshad...@gmail.com wrote: Although not an API issue, it might be good to track it as such, because Twitter clients can then follow exactly the same policies that Twitter web interface does. If there is a standard regular expression that can be used for detecting a URL, it could be published as a guideline in the API documentation for consistency between all clients. cheers, Harshad On Fri, Dec 18, 2009 at 2:45 AM, Raffi Krikorian ra...@twitter.com wrote: its not an API issue -- the API doesn't do any auto-URLification. however, i'll pass this thread off to the web client team. On Thu, Dec 17, 2009 at 1:13 PM, dbasch dba...@gmail.com wrote: I agree. I searched the issues db and didn't find it. Not sure if it belongs as an API issue but I submitted it anyway. http://code.google.com/p/twitter-api/issues/detail?id=1298 -- Harshad RJ http://hrj.wikidot.com
[twitter-dev] Re: Questions about opening the firehose
Hi Raffi, Will the geo-hose streaming API return only those tweets which are geo- tagged, or will it also return tweets for users whose location (in profile) falls within the lat, lon specified. If it returns only tweets that are geo-tagged, I guess the volume of returned tweets will be pretty low for now. /Amitab Twaller.com (@mytwaller) On Dec 17, 9:19 pm, Raffi Krikorian ra...@twitter.com wrote: For one thing, I do a lot of location-based processing. I'm quite interested in what's happening in Portland, Oregon, and not so much about the rest of the world. As far as I can tell, there's no geocode parameter for filter. In addition, I can do a search back in time with Twitter search - with filter, if I don't know what I'm looking for, it's going to go right by me. ;-) the geo-hose will be eventually available to help specifically with this feature -http://www.slideshare.net/raffikrikorian/whats-happening-here. -- Raffi Krikorian Twitter Platform Teamhttp://twitter.com/raffi
Re: [twitter-dev] Re: Questions about opening the firehose
Will the geo-hose streaming API return only those tweets which are geo- tagged, or will it also return tweets for users whose location (in profile) falls within the lat, lon specified the geo-hose will only return tweets that are geotagged. while the volume may be low (comparably) now, its definitely growing. -- Raffi Krikorian Twitter Platform Team http://twitter.com/raffi
Re: [twitter-dev] Re: Twitter Search cache or delayed data?
I'm not at all familiar with PHP code, but my guess is that the fopen call failed. That could be due to invalid credentials passed in (did you edit username:password?), internet flakiness, etc. Can you make that call with curl from the command line? On Thu, Dec 17, 2009 at 2:15 PM, Will Ashworth ashworth102...@gmail.com wrote: I'm checking out a tutorial I found for the stream API (having not worked with JSON much) and am getting an error. fgets(): supplied argument is not a valid stream resource This is happening when I run it locally under WAMP as a test and also on a live production server (Media Temple). Any ideas? The tutorial I found is here: http://hasin.wordpress.com/2009/06/20/collecting-data-from-streaming-api-in-twitter/ Thanks. Hopefully I'm getting closer to a better data collector :) -- ---Mark http://twitter.com/mccv
[twitter-dev] Loose ends for List and Retweet APIs
There are some loose ends that need to be tied up in both the List and Retweet APIs to round out the feature set and fix some bugs. I want to crank these all out. So here is a little list I've been building. Please add what I've left out and you think is missing. Retweet: * add retweet_count to every status representation * support paging through the resource that returns all retweets for a given tweet * don't require authentication for *most* read only resources List: * on a user representation, show list count, list memberships count and list subscriptions count * don't require authentication on read only resources * expose a list of ids for a list's members and subscribers (this change will go hand in hand with a new bulk user lookup resource where you provide a list of ids and get back a list of user representations) * count parameter for status timelines of a list appears to do nothing Many other things I'm sure... -- Marcel Molina Twitter Platform Team http://twitter.com/noradio
Re: [twitter-dev] Re: Getting retweets in user timelines
The backwards compatibility problem is SAX event based parsers that, without proper code in place to set the current context, will just blindly grab the screen_name and text attributes etc in potentially non-deterministic ways thus mixing up, potentially, the tweeter from the retweeter, and the tweet from the retweet. On Wed, Dec 16, 2009 at 1:36 AM, Rich rhyl...@gmail.com wrote: I don't see why we even need it to be backwards compatible as technically it already is surely? The home_timeline status's are the actual retweet, to make it new style retweet compatible you need to explicitly handle the retweeted status nodes. On Dec 15, 4:06 pm, Cameron Kaiser spec...@floodgap.com wrote: Not ideal but for any users whom you have authorized credentials for you can use: http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweete. .. Definitely not ideal. +1 for There are several threads looking for a way to get built-in retweets via teh user_timeline as was available before with organic (i.e., RT ...) tweets. Has there been any decision made on what will be done here? Built-in retweets are invisible to the user_timeline which is a loss of functionality. Simply including the option of retweets=true should solve the backwards compatibility option. -- personal: http://www.cameronkaiser.com/-- Cameron Kaiser * Floodgap Systems *www.floodgap.com* ckai...@floodgap.com -- MOVIE IDEA: From Russia with E-mail Signature -- -- Marcel Molina Twitter Platform Team http://twitter.com/noradio
[twitter-dev] Twitter4J 2.1.0-SNAPSHOT build now supports list members/subscribers methods
Hi all, I'm glad to announce that the Twitter4J latest SNAPSHOT build now supports list members/subscribers methods. Please note that twitter4j.List class has been renamed to twitter4j.UserList to avoid class-name confliction with java.util.List. - Download twitter4j-2.1.0-SNAPSHOT.zip http://yusuke.homeip.net/twitter4j/en/index.html#download - Migration guide from version 2.0.10 to 2.1.0 http://yusuke.homeip.net/twitter4j/en/javadoc.html#migration - 2.1.0-SNAPSHOT JavaDoc http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html - JavaDoc diff from version 2.0.10 http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html - Direction how to use the snapshot build with your project. http://yusuke.homeip.net/twitter4j/en/index.html#maven - API support matrix http://yusuke.homeip.net/twitter4j/en/api-support.html Please feel free to post any Twitter4J specific questions/suggestions to twitte...@googlegroups.com Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
Re: [twitter-dev] Status update 11:27pm PDT
We just posted a status update to blog.twitter.com which you can find here: http://blog.twitter.com/2009/12/update-on-last-nights-dns-disruption.html Please let us know if you have any questions. Best, Ryan On Thu, Dec 17, 2009 at 11:28 PM, Ryan Sarver ryan.sar...@gmail.com wrote: Just wanted to drop an email to everyone and let you know that we are investigating the issue and will follow up with more details as we determine the cause and are able to share information. Thanks for your patience, Ryan
[twitter-dev] Account Suspension, Retweet Limitations
Hey everyone, I've recently setup a new account and made it retweet some messages based on hashtags every few seconds. I'm using the new retweets API and I couldn't get passed ~ 35 tweets when Twitter has blocked my account. There was no spam, pornography or any other violation. Anybody know if there are any limits to this? I did this twice on two different accounts, both of them blocked. Filed an issue to Twitter Support, still waiting. I'm pretty sure I'm not hitting the API limits. Thank you, Konstantin
[twitter-dev] Re: Loose ends for List and Retweet APIs
It would be good to be able to get retweets in a user's timeline. If that is not possible for backwards compatibility reasons, is it possible to have a function such as retweets_by_user which has similar semantics to retweets_by_me, except we can specify the user whose retweets are being retrieved (requiring appropriate authentication for protected users, of course)? Thanks! On Dec 18, 2:09 pm, Marcel Molina mar...@twitter.com wrote: There are some loose ends that need to be tied up in both the List and Retweet APIs to round out the feature set and fix some bugs. I want to crank these all out. So here is a little list I've been building. Please add what I've left out and you think is missing. Retweet: * add retweet_count to every status representation * support paging through the resource that returns all retweets for a given tweet * don't require authentication for *most* read only resources List: * on a user representation, show list count, list memberships count and list subscriptions count * don't require authentication on read only resources * expose a list of ids for a list's members and subscribers (this change will go hand in hand with a new bulk user lookup resource where you provide a list of ids and get back a list of user representations) * count parameter for status timelines of a list appears to do nothing Many other things I'm sure... -- Marcel Molina Twitter Platform Teamhttp://twitter.com/noradio
Re: [twitter-dev] Account Suspension, Retweet Limitations
You might be running into some sort of anti-spam measure twitter has in place. I'd fire off an email to a...@twitter.com and see if they can help. Josh On Fri, Dec 18, 2009 at 4:27 PM, kovshenin kovshe...@live.com wrote: Hey everyone, I've recently setup a new account and made it retweet some messages based on hashtags every few seconds. I'm using the new retweets API and I couldn't get passed ~ 35 tweets when Twitter has blocked my account. There was no spam, pornography or any other violation. Anybody know if there are any limits to this? I did this twice on two different accounts, both of them blocked. Filed an issue to Twitter Support, still waiting. I'm pretty sure I'm not hitting the API limits. Thank you, Konstantin
Re: [twitter-dev] Re: Loose ends for List and Retweet APIs
It would be good to be able to get retweets in a user's timeline. If that is not possible for backwards compatibility reasons, is it possible to have a function such as retweets_by_user which has similar semantics to retweets_by_me, except we can specify the user whose retweets are being retrieved (requiring appropriate authentication for protected users, of course)? Or, simply a parameter to ask for them optionally? I don't mind this method, but it requires two calls to assemble a user timeline. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- The more corrupt the state, the more numerous the laws. -- Tacitus -
Re: [twitter-dev] Re: Loose ends for List and Retweet APIs
Or conceivably (though arguably janky) there could be an additional parameter you provide for the user timeline that opts you in to having retweets appear. e.g. ?include_retweets=true On Fri, Dec 18, 2009 at 3:08 PM, Cameron Kaiser spec...@floodgap.comwrote: It would be good to be able to get retweets in a user's timeline. If that is not possible for backwards compatibility reasons, is it possible to have a function such as retweets_by_user which has similar semantics to retweets_by_me, except we can specify the user whose retweets are being retrieved (requiring appropriate authentication for protected users, of course)? Or, simply a parameter to ask for them optionally? I don't mind this method, but it requires two calls to assemble a user timeline. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- The more corrupt the state, the more numerous the laws. -- Tacitus - -- Marcel Molina Twitter Platform Team http://twitter.com/noradio
[twitter-dev] Re: Loose ends for List and Retweet APIs
Retweets of Me (http://apiwiki.twitter.com/Twitter-REST-API-Method%3A- statuses-retweets_of_me) * add details about who retweeted your tweets, only needs to be first retweeter and a count of total number of times retweeted. Lists: * add list details node (eg. same as GET list_id method) to other lists methods such as 'GET list statuses', 'GET list members', 'GET list subscribers' - would allow me to replicate the individual 'list pages' like on twitter.com without the need to make additional api calls (not a huge issue with the forthcoming rate limit increase.) On Dec 19, 6:09 am, Marcel Molina mar...@twitter.com wrote: There are some loose ends that need to be tied up in both the List and Retweet APIs to round out the feature set and fix some bugs. I want to crank these all out. So here is a little list I've been building. Please add what I've left out and you think is missing. Retweet: * add retweet_count to every status representation * support paging through the resource that returns all retweets for a given tweet * don't require authentication for *most* read only resources List: * on a user representation, show list count, list memberships count and list subscriptions count * don't require authentication on read only resources * expose a list of ids for a list's members and subscribers (this change will go hand in hand with a new bulk user lookup resource where you provide a list of ids and get back a list of user representations) * count parameter for status timelines of a list appears to do nothing Many other things I'm sure... -- Marcel Molina Twitter Platform Teamhttp://twitter.com/noradio
[twitter-dev] The Twitter DNS fiasco
Am I the only one who thinks this is somewhat disingenous, or at least lacking in details? http://blog.twitter.com/2009/12/update-on-last-nights-dns-disruption.html I dontv even know what happened. I'm guessing, somehow, Twitter.com had their DNS records pointed to some arbitrary host. I believe bluehost, that's what dig told me at the time. How bluehost handled that traffic is a testament to the 6.00 account it must have been sitting on. Is that what happened? Why did bluehost not immediately close that ip? But the statement that no accounts are believed to be compromised... How many have remember me enabled? Doesn't this mean all those users had their login cookie sent along for capture? If the hackers were more nefarious, they could have easily cloned the login/pass box and captured the credentials and redirected to fail whale. Smarter still, round robin the ip's to only 1 being false, most would get in, but those who did not just gave up login and pass details. They will try again later and all would work fine. This would have taken much longer to rven discover. How did someone get control of DNS? With twitters size, could a call not been made to netsol, openDNS, 8.8.8.8, and the rest of the large 3rd party dns providers to shunt in records with the correct IP's for a shirt time, until the real TTL's refreshed? Netsol could have solved it in one swoop. I think a lot more detail about this need to be disclosed. This does not seem like a Twitter security issue, it seems like a DNS issue, largely outside of twitters control. Why not explain that? Right now it appears twitter got hacked, again, but I dont think that to be the case, though this blog posts lack of detail makes the public feel Twitter was hacked. Where did all the forgot password emails go, were MX records also put in place. Where did email in general go, can we see the hacked zone copy put in place? Twitter did little wrong here, the blog post is so vague, it makes the general public think It's twitters Machines, which if I understand this, it's not. Pretty sure I could self fix this with a few entries to /etc/hosts or in my case, I would have just added the zone to my RR, had i known what to add in. Comments appreciated. -- Scott (Sent from a mobile device)
[twitter-dev] Re: Reg Fetch tweets by append GEO Code to URL from Search API
I tried your query and got a timeout. My guess is that it's just a very expensive query to compute because of the large radius. It seems to work fine with a smaller radius. Diego On Dec 18, 3:25 am, praveenkumar nakka nakka.praveenku...@gmail.com wrote: Hai, I was using search API to get tweets from Twitter. When i append geo code to the URL i got following error like this URL :http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2... .TwitterException: *Server returned HTTP response code: 502 for URL*:http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2... at com.netelixir.api.twitterSrc. http.HttpClient.httpRequest(HttpClient.java:274) at com.netelixir.api.twitterSrc.http.HttpClient.get(HttpClient.java:189) at com.netelixir.api.twitterSrc.Twitter.get(Twitter.java:279) at com.netelixir.api.twitterSrc.Twitter.search(Twitter.java:1125) at com.netelixir.api.twitter.DumpTweetsData.run(DumpTweetsData.java:119) at java.lang.Thread.run(Thread.java:619) If i try to pull tweets without geo code then its working fine , What is the wrong in the sending url and why its coming like this? Is there any other way to get tweets by using geocode from Search API? please give me reply as early as possible. Thanks Praveen
Re: [twitter-dev] Loose ends for List and Retweet APIs
Qd On 12/18/09, Marcel Molina mar...@twitter.com wrote: There are some loose ends that need to be tied up in both the List and Retweet APIs to round out the feature set and fix some bugs. I want to crank these all out. So here is a little list I've been building. Please add what I've left out and you think is missing. Retweet: * add retweet_count to every status representation * support paging through the resource that returns all retweets for a given tweet * don't require authentication for *most* read only resources List: * on a user representation, show list count, list memberships count and list subscriptions count * don't require authentication on read only resources * expose a list of ids for a list's members and subscribers (this change will go hand in hand with a new bulk user lookup resource where you provide a list of ids and get back a list of user representations) * count parameter for status timelines of a list appears to do nothing Many other things I'm sure... -- Marcel Molina Twitter Platform Team http://twitter.com/noradio -- Sent from my mobile device
[twitter-dev] Re: URLification
I've recently switch to using this regex for pulling out links, haven't spotted any issues with any extra characters surrounding the links as yet. /(?i)\b((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d?[.])(?:[^\s()]+|\ ([^\s()]+\))+(?:\([^\s()]+\)|[^`!()\[\]{};:\'.,?«»“”‘’\s]))/ It was posted by @gruber to his twitter feed a couple of days after his post that Chad linked to above. On Dec 19, 3:48 am, Chad Etzel jazzyc...@gmail.com wrote: This might be relevant to your interests:http://daringfireball.net/2009/11/liberal_regex_for_matching_urls Something definitely changed in the twitter web front-end code which is borking url matching as of a month or so ago... -Chad On Fri, Dec 18, 2009 at 2:44 AM, Harshad RJ harshad...@gmail.com wrote: Although not an API issue, it might be good to track it as such, because Twitter clients can then follow exactly the same policies that Twitter web interface does. If there is a standard regular expression that can be used for detecting a URL, it could be published as a guideline in the API documentation for consistency between all clients. cheers, Harshad On Fri, Dec 18, 2009 at 2:45 AM, Raffi Krikorian ra...@twitter.com wrote: its not an API issue -- the API doesn't do any auto-URLification. however, i'll pass this thread off to the web client team. On Thu, Dec 17, 2009 at 1:13 PM, dbasch dba...@gmail.com wrote: I agree. I searched the issues db and didn't find it. Not sure if it belongs as an API issue but I submitted it anyway. http://code.google.com/p/twitter-api/issues/detail?id=1298 -- Harshad RJ http://hrj.wikidot.com
Re: [twitter-dev] Re: Loose ends for List and Retweet APIs
Retweets of Me (http://apiwiki.twitter.com/Twitter-REST-API-Method%3A- statuses-retweets_of_me) * add details about who retweeted your tweets, only needs to be first retweeter and a count of total number of times retweeted. +1 -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- Time makes more converts than reason. -- Thomas Payne --
Re: [twitter-dev] Re: Loose ends for List and Retweet APIs
Or conceivably (though arguably janky) there could be an additional parameter you provide for the user timeline that opts you in to having retweets appear. e.g. ?include_retweets=true Right, exactly. I would adore this. -- personal: http://www.cameronkaiser.com/ -- Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com -- END OF LINE. ---
[twitter-dev] Doing a search with from:username_with_underscore doesnt seem to work
I am trying to search for all messages from a particular for eg from:the_hindu It doesnt work. How is this supposed to be done?
[twitter-dev] Re: Desktop App oAuth GET request with valid accesstoken returns 401 Unauthorized
Hey Duane, many thanks for your reply. We did consider the existing .NET libraries but due to some reasons we were to write our own code for basic functionalities. Secondly, with our existing code we completed the process of getting access token and secret key without much problem. I am wondering what could be the issue with our request for verify_credentials? Thanks Sanjay On Dec 18, 6:55 pm, Duane Roelands duane.roela...@gmail.com wrote: Sanjay, There are several really good .NET libraries that handle OAuth already. I would give TweetSharp a look to see if it meets your needs. You might also want to look at TwitterVB. http://tweetsharp.comhttp://twittervb.codeplex.com On Dec 18, 5:01 am, Sanjay shosansha...@gmail.com wrote:
[twitter-dev] Getting only few tweets for home_timeline.
Hi , I am developing twitter client mobile application for iPhone. From my application if i make tweets request using home_timeline url and direct_messages timeline with count as 11 sometimes i am getting response as only few tweets.I need your support regarding this issue. Regards, S.Sakthivel.
[twitter-dev] Error using the search API
Hi, I am getting error like this while testing my app using Twitter Search API: {'error': 'You have been rate limited. Enhance your calm.'} I do not think that I am reaching the 2 limit. What should I do/check? Thanks in advance.
[twitter-dev] Re: Doing a search with from:username_with_underscore doesnt seem to work
It's not the underscore. These queries work: http://search.twitter.com/search?q=from%3Ajamie_oliver http://search.twitter.com/search?q=from%3Adavid_henrie This particular one doesn't: http://search.twitter.com/search?q=from%3Athe_hindu to:the_hindu does work. Just speculating, but perhaps the_hindu's results were dropped from the index by a spam filter for some reason. Maybe it tweeted too many times in a very short period. Diego On Dec 18, 12:23 pm, Joe cend...@gmail.com wrote: I am trying to search for all messages from a particular for eg from:the_hindu It doesnt work. How is this supposed to be done?
[twitter-dev] Re: Error using the search API
First you should read this : http://apiwiki.twitter.com/Rate-limiting On Dec 18, 8:19 pm, sitting tiger huayin.w...@gmail.com wrote: Hi, I am getting error like this while testing my app using Twitter Search API: {'error': 'You have been rate limited. Enhance your calm.'} I do not think that I am reaching the 2 limit. What should I do/check? Thanks in advance.
Re: [twitter-dev] Re: Reg Fetch tweets by append GEO Code to URL from Search API
I tried with 200 KM radius even though i got same error. On Fri, Dec 18, 2009 at 11:55 PM, dbasch dba...@gmail.com wrote: I tried your query and got a timeout. My guess is that it's just a very expensive query to compute because of the large radius. It seems to work fine with a smaller radius. Diego On Dec 18, 3:25 am, praveenkumar nakka nakka.praveenku...@gmail.com wrote: Hai, I was using search API to get tweets from Twitter. When i append geo code to the URL i got following error like this URL : http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2... .TwitterException: *Server returned HTTP response code: 502 for URL*: http://search.twitter.com/search.json?q=%22holiday+list.+Pick+me%21%2... at com.netelixir.api.twitterSrc. http.HttpClient.httpRequest(HttpClient.java:274) at com.netelixir.api.twitterSrc.http.HttpClient.get(HttpClient.java:189) at com.netelixir.api.twitterSrc.Twitter.get(Twitter.java:279) at com.netelixir.api.twitterSrc.Twitter.search(Twitter.java:1125) at com.netelixir.api.twitter.DumpTweetsData.run(DumpTweetsData.java:119) at java.lang.Thread.run(Thread.java:619) If i try to pull tweets without geo code then its working fine , What is the wrong in the sending url and why its coming like this? Is there any other way to get tweets by using geocode from Search API? please give me reply as early as possible. Thanks Praveen
[twitter-dev] Getting tweets of specific location
Hey all I am hearing about the Geo Location and Geo Tagging since long. But I want to know how do I use it in my requirement. I am getting data from the search api. I want tweets which belongs only to the US. Is there a possible way where I can filter only the tweets that belongs to the US? Does twitter search api provide such filtering option? If not then can someone suggest me a solution for this? Thanks
[twitter-dev] FileSocial error
I'm getting a 500 error on FileSocial.com when using the API, and I was wondering if anybody else is getting this type of error.