[twitter-dev] Re: Search API and location
I just tried to construct a query that searches for users by location, as it is registered in the location field of their profiles. I had no luck and it seems this is not possible. You can also do this using Datasift's FSDL. ✿✿✿ Mohan ✿✿✿ -- 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] Re: Search API and location
On 12/29/10 10:40 AM, L. Mohan Arun wrote: I just tried to construct a query that searches for users by location, as it is registered in the location field of their profiles. I had no luck and it seems this is not possible. You can also do this using Datasift's FSDL. ✿✿✿ Mohan ✿✿✿ DataSift is still in closed alpha testing phase... Tom -- 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] Re: Broken Json Status on Streaming API
Hi folks, Old Issue, but Marc is definitely right. I don't know where is the problem, but my infrastructure is poor, getting some broken status yet. Is heavy to the streaming (and others API) server put a hash (md5) on each status message that the client can verify it's integrity? Thanks. Augusto. On Fri, Nov 12, 2010 at 10:32 PM, @IDisposable idisposa...@gmail.comwrote: There's NO QUESTION in my mind that this is a memory/disk/network issue. Somewhere in the chain of events leading to your parser, someone is dropping bits and tons of ECC/Checksum logic/etc. is missing it. I really really really doubt the feed is corrupt when leaving twitter-land... it's getting borked on the way to your parser. FWIW, I've never seen any of these issues... and I consume a TON of tweets daily. The difference between T and V is one bit in ASCII (hex 0x54 versus 0x56), between u and w (0x75 vs. 0x77), between h and j (0x68 and 0x6A). We're seeing a consistent flip-to-on of the 0x02 bit. You've probably got bad RAM if it were up to my estimation... if you've got hardware control of this machine, try upping the voltage on the Northbridge and DRAM if you can a notch. Marc On Nov 12, 6:52 am, Augusto Santos augu...@gemeos.org wrote: In this period of wrong json status, I received either wrong date format of created_at 2747941206892544 Thu Nov 11 35:42:14 + 2010 2565022072963072 Thw Nov 11 03:35:23 + 2010 256213672896 Tju Nov 11 03:23:54 + 2010 2550619441209344 Thu Nov 11 02:38:0; + 2010 2545567930523648 Vhu Nov 11 02:18:05 + 2010 and so on... Looks like was only one char problem per status, that mess up everything. Since Thu Nov 11 15:44:37 + 2010, I get no json parser or corrupt created_at problem. Thanks. On Thu, Nov 11, 2010 at 11:51 PM, Augusto Santos augu...@gemeos.org wrote: Hi Taylor, First, thanks for the answer. I'm using Phirehose lib to PHP, the native json_decode($status,TRUE) from PHP and after json decode I'm using mysql_real_escape_string for the string fields. I see now that my log routine use mysql escape either before query. So this examples are escaped according this mysql procedure. Here is the amount of tweets with this problem. That's when json_decode didn't work, so there's no id_str or new_id_str in my $status[] array, then it's throw an error and log it with the json status. I can send you all these status if you want it. DateHour(GMT-2) Count 2010-11-11 13 97 2010-11-11 1 367 2010-11-11 0 521 2010-11-10 23 598 2010-11-10 22 569 2010-11-10 21 577 2010-11-10 20 619 2010-11-10 19 606 2010-11-10 18 603 2010-11-10 17 607 2010-11-10 16 247 2010-11-10 11 9 2010-11-09 22 2 Thanks, Augusto. On Thu, Nov 11, 2010 at 2:52 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Augusto, I monitored the sample stream this morning for a few hours for instances similar to the JSON examples you've provided below and was unable to see the scenario duplicated. What JSON parser are you using? Is there any other processing that may have occurred prior to generating your examples below? Do you know how your library is handling escaped quote values like \ ? How many of these did you observe? Thanks, Taylor On Thu, Nov 11, 2010 at 5:10 AM, Augusto Santos augu...@gemeos.org wrote: I recevied a lot of broken json status from streaming api Count of brojen json by day 2010-11-09 2 2010-11-10 4435 2010-11-11 888 Examples: {in_reply_to_status_id_str:2563309119209472,text:@joi4kitten I have that same fear.,truncated:false,in_reply_to_user_id_str:16155805,entities:{ user_menvions:[{screen_name:joi4kitten,indices:[0,11],name:joi4ki tten,id:16155805,id_str:16155805}],urls:[],hashtags:[]},geo:nu ll,in_reply_to_status_id:2563309119209472,place:{country_code:US,c ountry:The United States of America,bounding_box:{type:Polygon,coordinates:[[[-76.965351,38.97 1109],[-76.909147,38.971109],[-76.909147,39.022114],[-76.965353,39.022114]] ]},place_type:city,attributes:{},full_name:College Park, MD,name:College Park,* id:e4c17912c815124d.url:http:\/\/api.twitter.com \/1\/geo\/id\/e4c17912c815124d.json*},favorited:false,source:\u003Ca href=\http:\/\/mobile.twitter.com\ rel=\nofollow\\u003EMobile Web\u003C\/a\u003E,contributors:null,in_reply_to_screen_name:joi4kitt en,coorfinates:null,retweet_count:null,in_reply_to_user_id:16155805, created_at:Thu Nov 11 03:38:52 + 2010,new_id_str:2565897919139841,new_id:2565897919139841,user:{fo llow_request_sent:null,lang:en,time_zone:Eastern Time (US Canada),screen_name:kellygo,following:null,profile_sidebar_border_c olor:0A84A5,profile_background_image_url:http:\/\/ a3.twimg.com\/profile_background_images\/8381831\/twitter_background_with_b
[twitter-dev] Re: Can't get any tweet from a particular account using Search Api
That's the funny thing. It's an old accoutn, created by me on 2009, and has a lot of tweets. I don't know why it won't return any, if you see it's profile, the tweets are public. This is a major bug! Please help Twitter! On Dec 28, 10:08 pm, MikeJ architeuthis...@gmail.com wrote: I tried that query and I get nothing as well. Perhaps that account has never tweeted, or maybe the issue is you need to be mentioned in a status not just creating tweets -- I am not yet using the search API so no clue what it looks for. On Dec 28, 3:08 pm, Eduardo Hernandez hernandezme...@gmail.com wrote: I can't get any tweet usinghttp://search.twitter.com/search.json?q=cincuentamas, but I can for my own user and any other account I have tested. cincuentamas is not even a private account, this user hasn't block its tweets, but it doesn't return anything whenever I query it. What's wrong? -- 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] Re: Can't get any tweet from a particular account using Search Api
Twitter search only goes back 7 days at the most. There are no tweets in that account within the last 7 days. Try posting a new tweet and then do a search. It should be there. On Wed, Dec 29, 2010 at 9:55 AM, Eduardo Hernandez hernandezme...@gmail.com wrote: That's the funny thing. It's an old accoutn, created by me on 2009, and has a lot of tweets. I don't know why it won't return any, if you see it's profile, the tweets are public. This is a major bug! Please help Twitter! On Dec 28, 10:08 pm, MikeJ architeuthis...@gmail.com wrote: I tried that query and I get nothing as well. Perhaps that account has never tweeted, or maybe the issue is you need to be mentioned in a status not just creating tweets -- I am not yet using the search API so no clue what it looks for. On Dec 28, 3:08 pm, Eduardo Hernandez hernandezme...@gmail.com wrote: I can't get any tweet usinghttp:// search.twitter.com/search.json?q=cincuentamas, but I can for my own user and any other account I have tested. cincuentamas is not even a private account, this user hasn't block its tweets, but it doesn't return anything whenever I query it. What's wrong? -- 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 -- Adam Green Twitter API Consultant and Trainer http://140dev.com @140dev -- 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] J2ME client to twitter
Hi, Twitter4j is only for JSE and Android platforms. To develop a J2ME Twitter Client, try this lib here: http://kenai.com/projects/twitterapime/ Regards, Ernandes On Fri, Dec 24, 2010 at 3:05 PM, Kalpa Welivitigoda callka...@gmail.comwrote: Hi all, I though to develop a J2ME twitter client and wrote some code. I got stuck in authentication step. http://twitter4j.org/en/code-examples.html I tried this but there's no BufferedReader in J2ME. I read that pin type authentication is better for mobile apps. But found no proper guide. Does anyone know a proper link by which I can overcome this authentication issue? Thanks in advance. -- Best Regards, Kalpa Pathum Welivitigoda http://kalpapathum.blogspot.com http://thiraya.wordpress.com -- 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 -- Ernandes Jr. - ALL programs are poems. However, NOT all programmers are poets. -- 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] Re: TwitterOauth
Here's the code: client = TwitterOAuth::Client.new( :consumer_key = SAFETWEET_CONSUMER_KEY, :consumer_secret = SAFETWEET_CONSUMER_SECRET, :token = chan.safetweet_access_token, :secret = chan.safetweet_access_secret ) ret = client.update_profile(:url = 'test') Any ideas? On Dec 18, 1:52 am, Gary Zukowski ga...@tweetmyjobs.com wrote: I'm getting the following error when trying to do a simple update_profile: client.update_profile(:url = '') JSON::ParserError: 665: unexpected token at '?xml version=1.0 encoding=UTF-8? hash request/1/account/update_profile/request errorCould not authenticate with OAuth./error /hash ' Any ideas? Thanks, Gary Zukowski -- 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