Re: [twitter-dev] Json parse error / escape problem

2010-11-01 Thread Harshad RJ
This is the exact problem I reported a few days back. According to this discussionhttp://stackoverflow.com/questions/583562/json-character-encodingof the JSON spec, when encoding strings inside JSON: All Unicode characters may be placed within the quotation marks except for the characters that

[twitter-dev] Re: TwitterOAuth example gets 401 all the time

2010-11-01 Thread José Luis
On 1 nov, 06:45, Abraham Williams 4bra...@gmail.com wrote: Check to make sure the clock on the server/computer is correct. If it is off by more then five minutes this is likely the problem. It can't be Abraham. It's synchronized with NTP so it should be perfect. I'm puzzled at this. Any

[twitter-dev] Broken Avatars

2010-11-01 Thread Tim
My cronjobs are picking up profiles with broken avatars. Mostly these appear to be 403s from Amazon S3. (guessing ACL problem) - Also some profile pic URLs don't appear to have file extension. Here's a list of user IDs affected 16043513 16750098 31585899 42854554 112564807 21895964 40581702

[twitter-dev] Clarification on automated replies when solicited by the user

2010-11-01 Thread Shaolyen
I run a twitter account that posts deals for video games. Our followers often tweet us asking for the best price a game is available for, and we've found a way to automatically recognise when we're asking us for a price, to fetch that low price from our servers, and send it to the user along with

[twitter-dev] twivatar points to GoDaddy.com Why?

2010-11-01 Thread wannagoogle
I have been using http://twivatar.org/[screen_name]/[size]; to load twitter user's avatar. I just noticed something today. Does Twitter Avatar @ http://twivatar.org/[screen_name]/[size] get hijack by GoDaddy.com website or the API URL address has changed. It was working yesterday. What is going on

[twitter-dev] Hi

2010-11-01 Thread Ascended Master Dinesh
Hi there, Forgive me for intruding on this space. :) But.. I'm looking for a very specific answer on Twitter API - as I help someone integrate Twitter on to their mobile apps. My question is: What is the exact query(syntax) to find the NEAREST 5 Tweets, given the longitude and latitude or a

Re: [twitter-dev] twivatar points to GoDaddy.com Why?

2010-11-01 Thread Scott Wilcox
Either their domain has expired or they've sold it to sedoparking. Either way, look at implementing your own avatar cache. On 31 Oct 2010, at 11:32, wannagoogle wrote: I have been using http://twivatar.org/[screen_name]/[size]; to load twitter user's avatar. I just noticed something today.

Re: [twitter-dev] Clarification on automated replies when solicited by the user

2010-11-01 Thread Taylor Singletary
Hi Shaolyen, Your logic here appears wise and within the rules for @mentions. I would recommend strongly encouraging users who want to interact with this bot to follow the account. Establishing a follow relationship strengthens the bond from an algorithmic perspective, but shouldn't be absolutely

Re: [twitter-dev] Hi

2010-11-01 Thread Tom van der Woerdt
Tweets are very much time-bound, especially when using a location. You'd have to select a certain time limit, like one hour. You would then get all tweets within 2000 meters (for example) of the location, for that one hour. Loop through the tweets and select the nearest five. If there are too many

[twitter-dev] Re: Which API method should I use to track all the retweets?

2010-11-01 Thread Irokez
anyone? -- 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:

[twitter-dev] Twitter stopped working

2010-11-01 Thread plw
At the top of my page I have include 'lib/EpiCurl.php'; include 'lib/EpiOAuth.php'; include 'lib/EpiTwitter.php'; include 'lib/secret.php'; My code for sending to twitter is $twitter_message = Offers update - . date(g:i a:) . http://www.pub-rooms.co.uk/ask-rooms.php?bookrooms=; . $intid .

Re: [twitter-dev] Twitter stopped working

2010-11-01 Thread Taylor Singletary
I would recommend strengthening your error handling code here so that you are able to pivot and debug on the particular error occurring. If you sweep all possible errors under a single rug, you lose visibility on the actual reason for the error. While not every Twitter API error message is

Re: [twitter-dev] Twitter stopped working

2010-11-01 Thread CWorster
It used to work adn I ahve no idea why it has now stopped so can someone please point me in the right direction - thanks DST (Daylight saving time) ended in some regions. As Taylor recommended, check your system clock. -- Twitter developer documentation and resources:

Re: [twitter-dev] Twitter stopped working

2010-11-01 Thread Knutsford Software
- Original Message - From: CWorster cwors...@schlimmer.com To: twitter-development-talk@googlegroups.com Sent: Monday, November 01, 2010 4:55 PM Subject: Re: [twitter-dev] Twitter stopped working It used to work adn I ahve no idea why it has now stopped so can someone please point

Re: [twitter-dev] Twitter stopped working

2010-11-01 Thread Knutsford Software
- Original Message - From: Taylor Singletary To: twitter-development-talk@googlegroups.com Sent: Monday, November 01, 2010 4:40 PM Subject: Re: [twitter-dev] Twitter stopped working I would recommend strengthening your error handling code here so that you are able to

[twitter-dev] Javascript, Snowflake, and Direct Message id's

2010-11-01 Thread Jim Cortez
Hello all, I have an non-browser xAuth client written in Javascript. I am in the process of changing up the codebase to use id_str in anticipation of Snowflake. One popular design decision we have made is to interleave sent and received direct messages into one unified list. Currently, we

Re: [twitter-dev] Javascript, Snowflake, and Direct Message id's

2010-11-01 Thread Jim Cortez
I have learned that I can safely compare 2 long integer strings without any problem. Is comparing Snowflake direct message id's in the manner described safe? Jim On 11/1/10 11:29 AM, Jim Cortez wrote: Hello all, I have an non-browser xAuth client written in Javascript. I am in the

[twitter-dev] XAuth authentication fail on Chinese machine

2010-11-01 Thread pawan
Hi, We have created a Desktop Twitter application, In this application I have used XAuth feature to get data from Twitter API. It works fine on Win 7 Ultimate machine. However when I run my application's exe on core Chinese Win 7 machine, I got The remote server returned an error: (401)

Re: [twitter-dev] Javascript, Snowflake, and Direct Message id's

2010-11-01 Thread Tom van der Woerdt
Yes, and no. Javascript has problems using numbers larger than 53 bits. Comparing them anyway (after conversion from string to int) may cause loss of accuracy. This itself is not very much an issue: only the first 41 bits of the ID can be used for comparison, the rest is simply to make sure it is

Re: [twitter-dev] De-duplicating Site Streams

2010-11-01 Thread Marc Mims
* John Kalucki j...@twitter.com [101031 20:30]: Create two in-memory hash sets of seen ids. Write ids to both. If the id is found on write, discard. Alternatively expire them every few tens of minutes to bound growth, but provide continuous coverage. That's what I'm doing now for the

[twitter-dev] Ability to Create Favorites / Retweet

2010-11-01 Thread mkp
I need help giving users the possibility to 'Favorite' and 'Retweet' tweets that are on my application. I don't really know where to start and tried using the Twurl console, but can't seem to find the right code. If anyone has done this before or knows a tutorial for setting this up I would

Re: [twitter-dev] De-duplicating Site Streams

2010-11-01 Thread Mark McBride
Isn't this a matter of just changing the keys? status_id becomes user_id:status_id? ---Mark http://twitter.com/mccv On Mon, Nov 1, 2010 at 12:18 PM, Marc Mims marc.m...@gmail.com wrote: * John Kalucki j...@twitter.com [101031 20:30]: Create two in-memory hash sets of seen ids. Write

Re: [twitter-dev] Javascript, Snowflake, and Direct Message id's

2010-11-01 Thread Jim Cortez
When 2 numeric strings are compared, they are done by magnitude. Some tests: 10765432100123456789 10765432100123456790 = false 1076543210012345678901010101 10765432100123456789 = true 1076543210012345678901010101 10765432100123456789 = false 10765432100123456789 === 10765432100123456789 = true

Re: [twitter-dev] De-duplicating Site Streams

2010-11-01 Thread Marc Mims
* Mark McBride mmcbr...@twitter.com [101101 12:26]: Isn't this a matter of just changing the keys? status_id becomes user_id:status_id? Yes. Probably needs to be user_id/type/status_id to accommodate the case where a user favorites a status she was mentioned in. We'd get that one,

Re: [twitter-dev] XAuth authentication fail on Chinese machine

2010-11-01 Thread Tom van der Woerdt
Hi, Most 401 Unauthorized errors (and especially the ones involving UTF8 characters) are because of errors in the Base String, used to generate the signature. Please use the validation tool at http://quonos.nl/oauthTester, it may help you a lot with validating your Base String. As access_token

[twitter-dev] Re: Failed to Auth on Japanese OS

2010-11-01 Thread Gary
The system date-time is in sync with local date-time. Exactly what the English OS is. I'm not sure what timezone it is set to, though. What else should I take under consideration? Could it be that the timezone is set to Japan yet the date-time is set to local? (It's not easy to find my way

[twitter-dev] Re: TwitterOAuth example gets 401 all the time

2010-11-01 Thread @IDisposable
Check to make sure the clock on the server/computer is correct. If it is off by more then five minutes this is likely the problem. It can't be Abraham. It's synchronized with NTP so it should be perfect. Unless you've verified the time, it certainly CAN be. Even if a machine it setup to

Re: [twitter-dev] Re: Failed to Auth on Japanese OS

2010-11-01 Thread Taylor Singletary
When producing an oauth_timestamp for any method requiring authentication, the time needs to be indicated in seconds since the UTC epoch -- some programming languages have Date Time classes that deal with epoch time easily for you, others require more work. In any case, when generating an

[twitter-dev] Re: TwitterOAuth example gets 401 all the time

2010-11-01 Thread José Luis
On 1 nov, 21:00, @IDisposable idisposa...@gmail.com wrote: Check to make sure the clock on the server/computer is correct. If it is off by more then five minutes this is likely the problem. It can't be Abraham. It's synchronized with NTP so it should be perfect. Unless you've

Re: [twitter-dev] 401 Unauthorized errors with Progress Open Edge using xAuth to get Access token

2010-11-01 Thread Taylor Singletary
Hi Martin, Thanks for your patience in working through xAuth with the issues you're facing. Given the information you've provided, it's difficult to determine exactly what might be amiss here. I'm unfamiliar with the programming environment you are using -- do you know if your HTTP transport

[twitter-dev] Re: One Click Background Image Upload

2010-11-01 Thread gerri50
Where is the best place to go to get someone to write a script that will be able to do a background image auto-install? On Oct 4, 12:57 pm, gerri50 gnd...@gmail.com wrote: I will probably hit a brick wall when it comes to writing my own. Do you know how to? This person here has something

[twitter-dev] User streaming - user mentions

2010-11-01 Thread rahsyed
I'm currently using the user streaming API to get all the usermentions made to a specific user (that the user follows). Unfortunately the onStatus method part of the UserStreamListener gets called every time a status message gets created for every user that the user follows. If you follow a

[twitter-dev] Re: One Click Background Image Upload

2010-11-01 Thread micrypt
Here. On Nov 1, 11:10 pm, gerri50 gnd...@gmail.com wrote: Where is the best place to go to get someone to write a script that will be able to do a background image auto-install? On Oct 4, 12:57 pm, gerri50 gnd...@gmail.com wrote: I will probably hit a brick wall when it comes to

Re: [twitter-dev] Re: One Click Background Image Upload

2010-11-01 Thread Edward Hotchkiss
Someone on the list a few weeks ago posted code for this task. Best, -- Edward H. Hotchkiss http://www.edwardhotchkiss.com/ http://www.twitter.com/edwardhotchkiss/ -- On Nov 1, 2010, at 8:28 PM, micrypt wrote: Here. On Nov 1, 11:10 pm, gerri50 gnd...@gmail.com

Re: [twitter-dev] Re: Change Background Image Not Working . Any help is appreciated

2010-11-01 Thread Edward Hotchkiss
here is the post: Thanks a lot Matt. It worked. The two things I missed while trying to upload the background image using your excellent library. 1) include filename={thefilename.jpg} element in the parameter array 2) add the 'use' = 'true' element in the parameter array. Here is my final

Re: [twitter-dev] Json parse error / escape problem

2010-11-01 Thread Harshad RJ
Siqi, Yeah, I have written a custom parser for this, since I need only a small part of the status object, and the volume of statutes is quite large. I can share the Scala function that accounts for this change. This function only unescapes Unicode characters that directly map to ASCII. def

[twitter-dev] Useful undocumented parameter for :user/lists/memberships - filter_to_owned_lists

2010-11-01 Thread Orian Marx (@orian)
You can efficiently determine which lists owned by the authenticating user have a target user as a member by adding the parameter filter_to_owned_lists=true to :user/lists/memberships. This should probably be included in the documentation here:

Re: [twitter-dev] User streaming - user mentions

2010-11-01 Thread Mark McBride
Check the with parameter on the user streams documentation page http://dev.twitter.com/pages/user_streams. Setting it to with=user should do what you want. ---Mark http://twitter.com/mccv On Mon, Nov 1, 2010 at 4:25 PM, rahsyed rahs...@gmail.com wrote: I'm currently using the user