Re: [twitter-dev] Whats the best practice for caching data?

2010-02-18 Thread Dave Sherohman
On Wed, Feb 17, 2010 at 05:52:28PM -0800, Dmitri Snytkine wrote: I have 2 choices: store the data in the database and put cookie in user's browser and next time user visits, I can just pull the username, name, etc from my database Or I can use user's access token/secret that I also store in

[twitter-dev] Re: Sorting by date

2010-02-18 Thread Quy
Hi John, Does that mean that status_ids may not be unique across all users? For example, one user could have status_id of 123 and another user can have status_id of 123 so you have to uniquely identify them by their user/status_id combination? On Feb 11, 11:40 pm, John Kalucki j...@twitter.com

[twitter-dev] Re: inconsistency in User Icon pixel sizes and file formats.

2010-02-18 Thread Terence Eden
This error has been reported at http://code.google.com/p/twitter-api/issues/detail?id=1182 Please add a star to it to stay informed. On Feb 18, 3:35 am, eco_bach bac...@gmail.com wrote: Hi In building a twitter search application I was surprised to find out that there is a inconsistency in

[twitter-dev] Re: oauth request token failing

2010-02-18 Thread Berto
Even with the URL like this: http://twitter.com/oauth/request_token?oauth_consumer_key=valueoauth_nonce=1266501098oauth_signature_method=HMAC-SHA1oauth_timestamp=1266500348oauth_version=1.0oauth_signature=eGALeAVpxt4CB%2FuHfkLq51%2FWXRk%3D It still fails for me. I've gotta be missing something

Re: [twitter-dev] Re: oauth request token failing

2010-02-18 Thread Ryan Alford
Can you post the string that you hash to create the signature? Ryan On Thu, Feb 18, 2010 at 8:42 AM, Berto mstbe...@gmail.com wrote: Even with the URL like this: http://twitter.com/oauth/request_token?oauth_consumer_key=

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread srikanth reddy
Replicating all the retweet functionality is currently not possible (Twitter obviously doesn't use the same api) Rate limit is okay with me (getting 350 with api.twitter.com) On Thu, Feb 18, 2010 at 4:13 AM, Abraham Williams 4bra...@gmail.com wrote: Seems like you should be able to replicate

[twitter-dev] mass de-follow - does the account get in trouble?

2010-02-18 Thread neal rauhauser
I'm following 595 and over the last two months I've marked every single person who responds by placing them on a list. Only 203 of these are actively engaged. Am I going to hit some tripwire if I drop 300+ people in a few minutes? -- mailto:n...@layer3arts.com // GoogleTalk:

[twitter-dev] Re: oauth request token failing

2010-02-18 Thread Berto
GEThttp%3A%2F%2Ftwitter.com%2Foauth%2Frequest_tokenoauth_consumer_key %3D8hvUTsGttoOBN2ygbDVJw%26oauth_nonce %3D1266502068%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp %3D1266501208%26oauth_version%3D1.0 On Feb 18, 8:04 am, Ryan Alford ryanalford...@gmail.com wrote: Can you post the

Re: [twitter-dev] Re: oauth request token failing

2010-02-18 Thread Ryan Alford
That looks fine. Are you using the Consumer Secret as the key to the hash? Ryan On Thu, Feb 18, 2010 at 9:10 AM, Berto mstbe...@gmail.com wrote: GEThttp%3A%2F%2Ftwitter.com%2Foauth%2Frequest_tokenoauth_consumer_key %3D8hvUTsGttoOBN2ygbDVJw%26oauth_nonce

[twitter-dev] Re: oauth request token failing

2010-02-18 Thread Berto
Fixed by putting an after my consumer secret. So essentially, it was just that my parameters were out-of-order. Thanks, Ryan! On Feb 18, 9:01 am, Ryan Alford ryanalford...@gmail.com wrote: That looks fine. Are you using the Consumer Secret as the key to the hash? Ryan On Thu, Feb 18,

[twitter-dev] Re: Forum API on twitter

2010-02-18 Thread Dmitri Snytkine
Sounds like an interesting idea. I also thought about writing a forum app like that because I am not satisfied with how twitter displays replies. I am sure it can be done with existing API, just a matter of writing a good app which must be fast. If you or anyone else wants to collaborate of

[twitter-dev] Re: Global twitter profile image URL

2010-02-18 Thread Dmitri Snytkine
I agree that having gravatar-style service for twitter avatars will be tremendously useful! Even better, if avatars are stored in .png ONLY, in which case you can just use the url without even checking with gravatar-like service. For example just put avatar.twitter.com/23423423423423.png (by

[twitter-dev] Re: oauth request token failing

2010-02-18 Thread Berto
Correct. I'm using the exact values provided from my application registration. And I've verified the algorithm works with the example from the oauth spec. On Feb 18, 9:01 am, Ryan Alford ryanalford...@gmail.com wrote: That looks fine. Are you using the Consumer Secret as the key to the hash?

[twitter-dev] Re: Whats the best practice for caching data?

2010-02-18 Thread Dmitri Snytkine
Thank you for reply. I realize this is not an easy question, gives me headache to think about the best way to implement it. The flow of login/signup in my app is probably very common: after user signsup with oauth, I get user data, pass it to createAccount() method which just records the user data

Re: [twitter-dev] Re: Global twitter profile image URL

2010-02-18 Thread Ed Costello
On Feb 18, 2010, at 10:18 AM, Dmitri Snytkine wrote: I agree that having gravatar-style service for twitter avatars will be tremendously useful! …or maybe twitter could just give users the option of displaying the gravatar matching their registered email address. -- -ed costello

Re: [twitter-dev] Re: Sorting by date

2010-02-18 Thread John Kalucki
Status ids are currently strictly increasing -- that means they're globally unique. In the future, they will be generally increasing -- but still globally unique. We'll be generating these unique ids in a fault-tolerant, highly-available, low-latency, and high-throughput service. If solving these

[twitter-dev] 404 Errors on followers using cursors

2010-02-18 Thread dark_man
Hi Everybody, I am having this issue of getting 404 Error on using next_cursor while scanning through followers list. This issue is detailed at http://code.google.com/p/twitter-api/issues/detail?id=1264 I am successful in getting past 46 pages of followers list but encountering 404 not found

[twitter-dev] Re: Abraham OAuth and statuses/retweet causing Not found error...

2010-02-18 Thread Fred Garvin
Thanks Abraham, that did the trick! For anyone else with this problem here is how I formatted it: $connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, oauth_token, oauth_token_secret); $retweet = statuses/retweet/.$retweet_id; $result = $connection-post($retweet); and since this is the

[twitter-dev] Oauth Signatures

2010-02-18 Thread Dewald Pretorius
Can computing the OAuth signature on un-normalized tweet text cause Incorrect Signature issues?

Re: [twitter-dev] Oauth Signatures

2010-02-18 Thread Ryan Alford
I just tried it and I do get the 401 Unauthorized error when I don't normalize the status text. Ryan On Thu, Feb 18, 2010 at 1:07 PM, Dewald Pretorius dpr...@gmail.com wrote: Can computing the OAuth signature on un-normalized tweet text cause Incorrect Signature issues?

Re: [twitter-dev] Global twitter profile image URL

2010-02-18 Thread Harshad RJ
On Wed, Feb 17, 2010 at 2:21 AM, Raffi Krikorian ra...@twitter.com wrote: probably more than a single day :P yes - we have thought about it... its low on our priority list right now, however. It would be tremendously useful, for sure. If CNAME is too complex/cumbersome, a simple HTTP

Re: [twitter-dev] Re: Oauth Signatures

2010-02-18 Thread Ryan Alford
In my testing, I got the 401 error when posting a simple status such as testing testing instead of normalizing it to testing%20testing. I can't tell if it's the invalid signature error since I can't figure out how to see that in .Net, but I can see that it's the 401: Unauthorized error. Ryan On

Re: [twitter-dev] Re: Abraham OAuth and statuses/retweet causing Not found error...

2010-02-18 Thread Abraham Williams
Sure thing :) Ping me with any projects that are live and I will add them to: http://wiki.github.com/abraham/twitteroauth/links Abraham On Thu, Feb 18, 2010 at 08:04, Fred Garvin i...@windpath.com wrote: Thanks Abraham, that did the trick! For anyone else with this problem here is how I

[twitter-dev] Re: Oauth Signatures

2010-02-18 Thread Dewald Pretorius
Oh, I understand what you mean, i.e., urlencode. No, I do that. I was referring to normalize with the PHP Normalize class FORM_C. On Feb 18, 4:24 pm, Ryan Alford ryanalford...@gmail.com wrote: In my testing, I got the 401 error when posting a simple status such as testing testing instead of

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
What retweet functionality is it not posible to replicate using the API? I can not think of any. It might take a number of API calls to collect all the data but it is all there. Abraham On Thu, Feb 18, 2010 at 06:17, srikanth reddy srikanth.yara...@gmail.comwrote: Replicating all the retweet

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Tim Haines
Last time I checked you couldn't see who RT'ed beyond the first 20.. And everything else is time-expensive.. Tim. On Fri, Feb 19, 2010 at 9:49 AM, Abraham Williams 4bra...@gmail.com wrote: What retweet functionality is it not posible to replicate using the API? I can not think of any. It

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
Docs say 100 and I don't see any open issues specifying otherwise. Abraham On Thu, Feb 18, 2010 at 13:01, Tim Haines tmhai...@gmail.com wrote: Last time I checked you couldn't see who RT'ed beyond the first 20.. And everything else is time-expensive.. Tim. On Fri, Feb 19, 2010 at 9:49

[twitter-dev] The XML for user settings would be helpful

2010-02-18 Thread Dmitri Snytkine
I just though of something that would be very helpful to developers: what if there was a url to get xml or json of user's profile, background image, color settings and avatar. I mean similar to regular RSS feed, only for the current user's settings. This way we don't even need to use API if we

[twitter-dev] Best Practice - Parsing the Location Field

2010-02-18 Thread GeorgeMedia
My primary reason for consuming the gardenhose is so I can gather tweets and sort them by location on demand when I need them. I have the tweets stored in local hourly files and I'm ready to insert them into the MySQL DB. But first... I need to do some scrubbing. I'm primarily interested in

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Tim Haines
Try it. On Fri, Feb 19, 2010 at 10:06 AM, Abraham Williams 4bra...@gmail.comwrote: Docs say 100 and I don't see any open issues specifying otherwise. Abraham On Thu, Feb 18, 2010 at 13:01, Tim Haines tmhai...@gmail.com wrote: Last time I checked you couldn't see who RT'ed beyond the

[twitter-dev] Twitter4j GeoLocation

2010-02-18 Thread Liz Crawford
I was wondering if anyone knew how to search within a specific geolocation and then have the coordinates (when applicable) to show up in the results. I am able to search for a specific term within a certain area. I can also search for a specific term, not in a specific area and have the lat and

[twitter-dev] Re: favorites paging limit?

2010-02-18 Thread TJ Luoma
Adding to my own question / observation: Another problem seems to be that when the maximum is exceeded, the server still sends Status 200 $ curl --location --referer ;auto -D - -s --netrc 'http://twitter.com/favorites.xml?page=175'|cat -v|less HTTP/1.1 200 OK^M Date: Thu, 18 Feb 2010 01:26:48

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
On Thu, Feb 18, 2010 at 13:09, Cameron Kaiser spec...@floodgap.com wrote: What retweet functionality is it not posible to replicate using the API? I can not think of any. It might take a number of API calls to collect all the data but it is all there. For one thing, you can't find out

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
File a bug report. On Thu, Feb 18, 2010 at 13:13, Tim Haines tmhai...@gmail.com wrote: Try it. On Fri, Feb 19, 2010 at 10:06 AM, Abraham Williams 4bra...@gmail.comwrote: Docs say 100 and I don't see any open issues specifying otherwise. Abraham On Thu, Feb 18, 2010 at 13:01, Tim

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Tim Haines
On Fri, Feb 19, 2010 at 10:24 AM, Abraham Williams 4bra...@gmail.comwrote: File a bug report. I've given up on bug reports as a way of getting bugs fixed. Maybe when twitter gets more support staff on board the bug reports might become useful again.

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
On Thu, Feb 18, 2010 at 14:00, Tim Haines tmhai...@gmail.com wrote: On Fri, Feb 19, 2010 at 10:24 AM, Abraham Williams 4bra...@gmail.comwrote: File a bug report. I've given up on bug reports as a way of getting bugs fixed. Maybe when twitter gets more support staff on board the bug

Re: [twitter-dev] The XML for user settings would be helpful

2010-02-18 Thread Abraham Williams
Try: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses%C2%A0show Abraham On Thu, Feb 18, 2010 at 12:36, Dmitri Snytkine d.snytk...@gmail.com wrote: I just though of something that would be very helpful to developers: what if there was a url to get xml or json of user's profile,

[twitter-dev] Video API using OAuth?

2010-02-18 Thread futurista
Hi! Does anyone know of an api for uploading video to Twitter that will take Oauth tokens?

[twitter-dev] Twitter Search API changes?

2010-02-18 Thread Arron Washington
When the Streaming API when live for production use, I recall an email describing that a set of changes would eventually occur to the Search API in terms of rate limiting and other bits I can't quite remember at the moment. Has there been any update? As a contractor, I've integrated and deployed

[twitter-dev] Re: The XML for user settings would be helpful

2010-02-18 Thread Dmitri Snytkine
Sorry to bother you, but I found out that this feature is already available Turns out I can easily get user's profile as json or xml without using oAuth or API Very simple, like this: http://api.twitter.com/1/users/show/MythBusters.json This is just great! On Feb 18, 3:36 pm, Dmitri Snytkine

[twitter-dev] Re: Abraham OAuth and statuses/retweet causing Not found error...

2010-02-18 Thread Fred Garvin
Will do, we should be ready to go in the next couple weeks. Thanks again. On Feb 18, 3:31 pm, Abraham Williams 4bra...@gmail.com wrote: Sure thing :) Ping me with any projects that are live and I will add them to:http://wiki.github.com/abraham/twitteroauth/links Abraham On Thu, Feb 18,

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Cameron Kaiser
What do you mean? You find the 100 most recent retweets of a specific status [1] or a timeline of all your statuses that have been retweeted. [2] [1] http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweets [2]

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Abraham Williams
On Thu, Feb 18, 2010 at 15:29, Cameron Kaiser spec...@floodgap.com wrote: What do you mean? You find the 100 most recent retweets of a specific status [1] or a timeline of all your statuses that have been retweeted. [2] [1]

Re: [twitter-dev] Re: Twitter search history

2010-02-18 Thread Abraham Williams
It is limited to the 1500 most recent results. There have been far more then 1500 statuses matching barack obama since 2008. Abraham On Wed, Feb 17, 2010 at 20:04, Mark mark.hube...@gmail.com wrote: Abraham, thanks for the pointer. From the wiki, it appears that the search should return up

[twitter-dev] Re: Question about licensing

2010-02-18 Thread Chris Messina
Actually, NOW would be the time to contribute feedback to the OWF, since there's a good amount of momentum converging on finalizing the various agreements that the OWF will be offering. Changing the licenses once they're set won't be easy — since the point of the agreement is to codify a specific

Re: [twitter-dev] favorites paging limit?

2010-02-18 Thread Tim Haines
Hey TJ, This just came up in another thread. The limits are talked about here: http://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therearepaginationlimits I'd expect roughly 3200 to be available as per other timelines.. Tim. On Thu, Feb 18, 2010 at 12:28 PM, TJ Luoma

Re: [twitter-dev] complete Retweet functionality in thirdparty apps

2010-02-18 Thread Cameron Kaiser
http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweets_of_me Yes. But does rt_o_m list who retweeted you? Near as I can tell it only lists the tweets themselves. Statuses/retweets does. It takes a few API calls but it gets you want is needed. Thanks, but no thanks.

[twitter-dev] Fail on Capture the Access Token in JS

2010-02-18 Thread Fernando Jorge
Hello, my name is Fernando, I am a Brazilian and developed a 'TwitterLib' JavaScript to be able to manage all the power of Twitter.Eu used the OAuth login to perform (and to show the extension name as the From in a tweet: D), but I have a problem in getting the Access Token, or better explained,