Re: [twitter-dev] [Twitter Profile Image Update]What am I gonna do? anybody knows?

2010-06-16 Thread Clint Shryock
Jusung -

I'm using Objective-c as well and I've gotten more than an handful of 500
errors, even the the post was successful and the avatar was updated.
The users/show API also is slow to update and show the new avatar.

Is your Twitter avatar update reflected on twitter.com ?

+Clint

On Wed, Jun 16, 2010 at 8:56 AM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Hi Jusung,

 Our image upload facilities are in need of some refactoring -- they
 frequently respond with a 500, sometimes having processed the image and
 sometimes not. Have you checked after uploading to see if the image was
 accepted?

 I'm not familiar enough with Objective-C to really help you in that area,
 but I wanted to make sure you know that basic authentication is going away
 later this month, and if you're working on any kind of new project, you
 should be using OAuth: http://dev.twitter.com/pages/auth_overview

 Taylor


 On Tue, Jun 15, 2010 at 11:43 PM, jusung Kye kyejus...@gmail.com wrote:

 I'm trying to make a APP about changing Twitter Avatar Image.
 I have tried about this problem for 2week. but I could found any
 solution.

 I tried this method using Curl. and this method works well.

 [Curl Method]
 curl -u user:password -H 'Expect:' -F image=@'test2.png;type=image/
 png' http://api.twitter.com/1/account/update_profile_image.xml

 but iPhone is not working.


 Did I forgot or missed something?
 Anybody~ Somebody~ help me.

 My codes is like below and The debbuger show like this error messages


 -(void)request:(NSURL *)url{
if (isPost) {

UIImage *myImage = [UIImage imageNamed:@1.jpg];
NSData *imageData = [[NSData alloc]
 initWithData:UIImageJPEGRepresentation(myImage, 90)];
requestBody = [NSString stringWithFormat:@
 image=%@,[[[NSString
 alloc] initWithData:imageData
 encoding:NSUTF8StringEncoding]autorelease]];

theRequest = [[NSMutableURLRequest alloc] initWithURL:url];
[theRequest setHTTPMethod:@POST];
NSString *stringBoundary = [NSString
 stringWithString:@0xKhTmLbOuNdArY];
NSString *contentType = [NSString stringWithFormat:@
 multipart/form-
 data; boundary=%@, stringBoundary];
[theRequest addValue:contentType forHTTPHeaderField:@
 Content-
 Type];

NSMutableData *postBody = [NSMutableData data];
[postBody appendData:[[NSString stringWithFormat:@
 \r\n\r\n...@\r
 \n, stringBoundary] dataUsingEncoding:NSUTF8StringEncoding]];
[postBody appendData:[[NSString stringWithString:@
 Content-
 Disposition: form-data; name=\source\\r\n\r\n]
 dataUsingEncoding:NSUTF8StringEncoding]];
[postBody appendData:[[NSString stringWithString:@
 canary]
 dataUsingEncoding:NSUTF8StringEncoding]];

NSString *mimeType = mimeType = @image/jpeg;

[postBody appendData:[[NSString stringWithFormat:@
 \r\n...@\r
 \n,stringBoundary] dataUsingEncoding:NSUTF8StringEncoding]];
[postBody appendData:[[NSString stringWithFormat:@
 Content-
 Disposition: form-data; name=\image\; filename=\%...@\\r\n,
 @1.jpg] dataUsingEncoding:NSUTF8StringEncoding]];
[postBody appendData:[[NSString 
 stringWithFormat:@Content-Type:
 %...@\r
 \n, mimeType] dataUsingEncoding:NSUTF8StringEncoding]];
[postBody appendData:[[NSString stringWithString:@
 Content-Transfer-
 Encoding: binary\r\n\r\n] dataUsingEncoding:NSUTF8StringEncoding]];
//[postBody appendData:image];
[postBody appendData:imageData];
[postBody appendData:[[NSString stringWithFormat:@
 \r\n...@\r
 \n,stringBoundary] dataUsingEncoding:NSUTF8StringEncoding]];

[theRequest setHTTPBody:postBody];

NSLog(@ispost);
theConnection = [[NSURLConnection alloc] initWithRequest:theRequest
 delegate:self];

}

if (theConnection) {
// Create the NSMutableData that will hold
// the received data
// reveivedData is declared as a method instance elsewhere
receivedData = [[NSMutableData data] retain];
}else {
// inform the user that the download could not be made
}
 }


 [Error Messages]

 Attaching to process 45645.
 2010-06-16 13:57:51.025 tw[45645:207] ispost
 2010-06-16 13:57:52.193 tw[45645:207] Status: 500 Internal Server
 Error
 Content-Type: text/html

 htmlbodyh1500 Internal Server Error/h1/body/htmlStatus:
 500 Internal Server Error
 Content-Type: text/html

 htmlbodyh1500 Internal Server Error/h1/body/html
 (gdb) clear





Re: [twitter-dev] Encrypt access key, secret, or both?

2010-06-02 Thread Clint Shryock
I guess I'm getting terminology confused.
My application is a desktop Mac applications.  When I registered my app I
got a Consumer Key and a Consumer Secret.  These belong to my app.
For a given user I go though the xAuth process and get back an Access Token,
consisting of a key and secret.  These belong to that particular user.

So, using the built in Keychain I need to encrypt the user Access Token
secret per user as well as the app's Consumer Secret, correct?

It is (relatively) safe then to store the Access Token key in something like
a Core Data store, so long as the secret is encrypted.

I feel like the terminology is all melding in my head between Twitter's API
guide and some of the OAuth guides I've read, so I apologize for my
confusion.

+Clint



On Wed, Jun 2, 2010 at 8:57 AM, Taylor Singletary 
taylorsinglet...@twitter.com wrote:

 Encrypting your consumer secret is the most important, but encrypting your
 access token secret isn't a bad idea at all -- I would recommend it.

 There's no need to encrypt your consumer key and access token though, as
 they are already either sent as query parameters or within HTTP headers on
 every request.


 On Wed, Jun 2, 2010 at 6:54 AM, ctshryock cl...@ctshryock.com wrote:

 I'm getting up to speed on OAuth and I haven't found a clear answer in
 the existing threads; In my desktop app I request an access token and
 get a key and secret back from Twitter.  For storage, is it necessary
 to encrypt both of those, or simply the secret?

 Thanks
 +Clint





Re: [twitter-dev] Is anyone aware of how long xAuth approvals (by Twitter) are taking?

2010-05-30 Thread Clint Shryock
I had the same issue, the ticket # they sent back only worked for a few
hours before it just disappeared.  I emailed them asking about the missing
ticket and xAuth time and they got back to me within 24 hours, so overall
mine was approved in under 48 hours.

+Clint

On Sat, May 29, 2010 at 6:30 PM, Jann Gobble janngob...@gmail.com wrote:

 I have asked this question once, but I did not see it posted.

 Is anyone aware of how long approval requests to api@ are taking recently?

 I requested it twice last week (once via email and once via support ticket
 cos the ticket # the email issued back could not be found)...

 I have received no response.

 Is there anyone out there that can help?

 Thanks!

 Jann Gobble
 MouseAddict





Re: [twitter-dev] Oauth authentication - reg

2010-05-18 Thread Clint Shryock
Yes, that's basic auth and is going to be turned off.

Here's how to get started:
http://dev.twitter.com/pages/auth

+Clint

On Tue, May 18, 2010 at 7:58 AM, Sigma suresh.aa...@gmail.com wrote:

 Hi,
I'm a newbie. i want to know how to get username and password from
 folks accessing my application and tweet on behalf of them? Is this
 the basic authentication twitter is about to close by june? And is
 there any way to get this work done? i don't know where to start.
 kindly reply with tutorials or explanations.

 Thanks in Advance.



Re: [twitter-dev] Re: Basic Auth Deprecation

2010-04-30 Thread Clint Shryock
See Twurl:
http://thechangelog.com/post/536535280/twurl-oauth-enabled-curl-for-the-twitter-api

and

http://github.com/marcel/twurl

+Clint

On Thu, Apr 29, 2010 at 9:47 PM, mcfnord mcfn...@gmail.com wrote:

 I think I know the answer to this question (YES), but I wanna clarify:
 Everywhere in the docs that I see curl followed by credentials,
 if the topic includes REST, that's an API that I will not be using
 curl for,
 because curl doesn't use oauth, so it cannot authenticate.

 i'll certainly know in 30 days if that's right. ;)



Re: [twitter-dev] Obj-C xAuth Demo

2010-03-03 Thread Clint Shryock
I saw your repository this morning, it all looks fantastic.  I appreciate
the work you've done.  I'll probably appreciate it more when I actually get
around to using it

+Clint


On Tue, Mar 2, 2010 at 10:29 PM, Isaiah Carew isa...@me.com wrote:


 Hi guys,

 For those looking to implement xAuth for Mac OS X, I've set up a complete
 working demo app.  It uses MGTwitterEngine and the OAConsumer libs to do the
 dirty work and just adds enough to implement the new xAuth flow.  I've tried
 to keep the code as simple to understand as possible, but it does the
 basics:

 - Adds the required parameters to the access token request
 - Overloads the request method in MGTwitterEngine with a signed request.
 - Shows how to store the access key in the Mac OS X Keychain.
 - Performs a basic tweet post and fetches the home timeline.

 It's just meant to help people get going and see a complete solution in
 action or a as a resource to compare their own solution.  I did one of these
 for OAuth last summer and it was pretty popular, so I figured I'd just keep
 the ball rolling.

 You can see the github repo here:
 http://github.com/yourhead/xAuth_ObjC_Test_App

 And if you're not approved for xAuth you can download a complete Mac OS X
 binary that was compiled with working keys -- in case you just need
 something simple to TCP dump.  You can download the binary here:
 http://github.com/yourhead/xAuth_ObjC_Test_App/downloads


 I'd be pleased with any sort of feedback, about the code, about the app, or
 just ways that it could be made more approachable for people new to the
 topic.


 isaiah
 http://twitter.com/isaiah/
 http://twitter.com/kiwi-app/




[twitter-dev] Re: Uploaded new pic to Twitter and it isn't showing up

2009-08-13 Thread Clint Shryock
Alex-
Is there any news you can relay about the status of the static asset
hosting move?  The API for updating profile images has been busted for a
while now, by that I mean uploading new images works, but the new image is
not reflected via the API for some time.  I'm following several issues on
the google code issues list but haven't heard anything for some time.

Thanks
+Clint

On Thu, Aug 13, 2009 at 3:51 PM, Alex Payne a...@twitter.com wrote:

 This is an intermittent bug as we improve our static asset hosting.
 In the future, please use this group for questions that are strictly
 API-related. Thanks!


 --
 Alex Payne - Platform Lead, Twitter, Inc.
 http://twitter.com/al3x



[twitter-dev] Re: Change your avatar's Twitter

2009-07-27 Thread Clint Shryock
you can use fopen to open the image file:
http://us2.php.net/manual/en/function.fopen.php

Then you'll want to use cURL to send the POST request:
http://us.php.net/manual/en/book.curl.php

or if you have access to use/install PECL extensions, you can use HTTP Post
request to send the data:
http://us2.php.net/manual/en/function.http-post-data.php
Happy coding
+Clint

On Fri, Jul 24, 2009 at 5:11 AM, Leo Baiano ljunior2...@gmail.com wrote:


 I would like to know if anyone knows an example using PHP to change image




[twitter-dev] Re: API Developers Alliance

2009-07-17 Thread Clint Shryock
I think this is well intended but not necessary.   As far as creating a
group that has the ear of Twitter, I think this is list is doing quite
well in that regard.  The Twitter dev's have been very responsive and so far
we have a nice community of third party devs as well.

I agree with Bjoren, I feel this would just add an unnecessary level of
politics.  If I chose not to join said alliance, would Twitter care less
about my voice?  Again, I don't see how this group would be beneficial in
anyway that this list isn't already providing.

Lastly, I don't feel that I, or my App, have rights to access Twitter's
API.  It's their system, my access is a privilege.

+Clint


[twitter-dev] Re: update profile image and profile image url

2009-07-17 Thread Clint Shryock
I never got any response on this, but a small update:
it's now down to about an hour for this to update correctly.  Often I'll hit
/users/show/username.json and it will return the correct value, however if
I go and update the avatar a 2nd time (to the 3rd image, counting the first,
original), the json file now returns the 2nd avatar (not the new, third).
 So the json file updates but then seems to be cached.

Is this parameter being cached in some way, or is this still a bug that's
waiting to be resolved after the image-hosting move?  If it's cached and
it's a known time frame I can update my app accordingly, but right now I
don't know that for sure.  The web interface updates this parameter
immediately.

Any word on this?

+Clint

On Thu, Jun 25, 2009 at 1:46 PM, Clint Shryock cts...@gmail.com wrote:

 I'm using the update_profile_image API call which is now working
 wonderfully.  The problem I'm having is the corresponding profile_image_url
 attribute I'm pulling from /users/show/username.xml is taking hours to
 update (upwards of 12 it seems).  I did notice that the /username.xml
 reflects this update immediately.
 This is apparent if you're using a twitter client (say tweetie or
 twitteriffic).  If a user updates their profile image these apps are showing
 blank/empty images because the API is still returning the old profile image
 url, which no longer points to a valid file.

 I've been following and commenting on twitter issues #648, #637 and $497,
 but haven't gotten feedback.  Any word on what's going on here?

 +Clint



[twitter-dev] Re: unsubscribe

2009-07-16 Thread Clint Shryock
Victor-go here: http://groups.google.com/group/twitter-development-talk
on the right click edit my membership
on that next page, you can select to receive no email, as well as an
unsubscribe link in the bottom right

+Clint

On Thu, Jul 16, 2009 at 9:25 AM, victor castleton
vcastle...@optonline.netwrote:

  I am getting hundreds of unwanted mail. I would like to unsubscribe.
 Thanks



[twitter-dev] Re: change my image ; old profile_image_url seen in response to users/show

2009-07-14 Thread Clint Shryock
Thanks Doug, this is great to hear.
+Clint

On Mon, Jul 13, 2009 at 5:12 PM, Doug Williams d...@twitter.com wrote:

 This seems like a caching invalidation bug. We will be discussing it at
 tomorrow's team meeting and I am hopeful the fix will be coming shortly.

 Thanks,
 Doug




[twitter-dev] Re: New app: twivert.com

2009-07-14 Thread Clint Shryock
The thread I recall about not announcing your apps here was more of a don't
announce your app here if you want to keep it private / low key.  If I
recall correctly the specific developer(s) was unhappy that someone had
blogged about a particular app that wasn't full and ready but had been
mentioned here.
I think new app announcements are fine, especially in this case, it was done
in a non-spammy manner.


 Most reasonably professional lists have a policy of no self promotion...

please cite 3 examples.

+Clint


[twitter-dev] Re: Changing domains for image hosting

2009-07-09 Thread Clint Shryock
I'm still having issues with the profile_image_url attribute of users/show
updating in a timely fashion, any chance this issue be resolved with this
update?
+Clint

On Wed, Jul 8, 2009 at 11:55 PM, Doug Williams d...@twitter.com wrote:

 Andrew Stone asked a great question off list and I wanted to share the
 answer here.

 Images will be hosted from a number of sub-domains of twimg.com. Therefore
 you should not expect all images to be served from a0.twimg.com as in the
 examples provided, but instead should expect an aribitrary sub-domain (*.
 twimg.com).

 Thanks,
 Doug


 On Jul 8, 2009, at 6:20 PM, Doug Williams d...@twitter.com wrote:

 Folks --
 We are going to be moving images to a new domain ( http://twimg.com
 twimg.com) to streamline our image hosting and offer better performance.
 We hope this will have limited impact as will only change the image URL.
 Example URLs include:

 Profile images:


 http://s3.amazonaws.com/twitter_production/profile_images/35240332/2929920.gif
 http://s3.amazonaws.com/twitter_production/profile_images/35240332/2929920.gif

 http://a0.twimg.com/profile_images/35240332/2929920.gif
 http://a0.twimg.com/profile_images/35240332/2929920.gif
 Background images:

  
 http://s3.amazonaws.com/twitter_production/profile_background_images/18156348/jessica_tiled.jpg.jpeghttp://s3.amazonaws.com/twitter_production/profile_background_images/18156348/jessica_tiled.jpg.jpeg

  
 http://a0.twimg.com/profile_background_images/18156348/jessica_tiled.jpg.jpeghttp://a0.twimg.com/profile_background_images/18156348/jessica_tiled.jpg.jpeg

 Thanks,
 Doug





[twitter-dev] Re: from API

2009-07-02 Thread Clint Shryock
That makes no sense to me.  It's not from the web, it came from an app using
the API.Why would you default it to from web if it didn't come from the
web?

+Clint

On Thu, Jul 2, 2009 at 11:04 AM, Abraham Williams 4bra...@gmail.com wrote:


 Makes sense to me. It is false data to say it is from web.

 Abraham


[twitter-dev] Re: changing profile pictures through API

2009-07-02 Thread Clint Shryock
updating the profile image with the API works well, but the corresponding
profile_image_url returned isn't updated immediately.  I've seen lag up to
12 hours
+Clint

On Thu, Jul 2, 2009 at 11:09 AM, Abraham Williams 4bra...@gmail.com wrote:


 Yes it is:
 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile_image

 On Thu, Jul 2, 2009 at 11:07, ilteris kaplanilteriskap...@gmail.com
 wrote:
  Hey Guys,
  Is it possible to change the profile images through the API? Honestly, I
  don't think it's possible but I just want to double check here. I'd
  appreciate any responses.
 
  best,
  ilteris.
 



 --
 Abraham Williams | Community Evangelist | http://web608.org
 Hacker | http://abrah.am | http://twitter.com/abraham
 Project | http://fireeagle.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.



[twitter-dev] Re: update_profile_image gives 500 internal server error

2009-06-17 Thread Clint Shryock
your request is most likely mal-formed or the image is possibly too large.
 you should be getting some kind of error message back, possibly saying
image possibly too large or to that effect.
 can you use a proxy to show the HTTP headers and such, or post some
code so we can take a look at how you're forming the request?
+Clint

On Wed, Jun 17, 2009 at 6:31 AM, bivekr bivekanand.tha...@gmail.com wrote:



 Hi,

 I am using wininet HTTP api to upload an image (http://twitter.com/
 account/update_profile_image.xml) to Twitter , but server returns 500
 internal server error. I am not getting the cause of error.
 Please help.

 Thnaks,
 Bivek.



[twitter-dev] Re: Incomplete profile_image_url

2009-06-10 Thread Clint Shryock
this part of the API has been busted for a while and is undergoing a
re-engineering.http://code.google.com/p/twitter-api/issues/detail?id=497

Haven't heard anything lately on it but assume they are working on it

+Clint

On Wed, Jun 10, 2009 at 11:37 AM, Kevin Makice kmak...@gmail.com wrote:


 I'm trying to debug a tool that deals with profile pictures, but I am
 having difficulty with what is appearing in the API user data. Some
 background, with questions at the end.


 I've tested with PNG and JPEG, and both are able to use the API to
 change a profile image, with quick response time and confirmed results
 on the web site. However, the data returned in the API user data for
 profile_image_url is both incomplete (no extension) and never
 changes, despite multiple uploads:

 * profile_image_urlhttp://s3.amazonaws.com/twitter_production/
 profile_images/98187860/phpbnQSdI_normal/profile_image_url

 This is different than my own profile, which returns a URI to an
 actual file, with an extension. It is also odd that, regardless of how
 often or with which tool (API vs. web site), this value never changes.
 In the HTML source of the twitter profile page, an explicit URI
 pointing to the correct profile image is used (http://s3.amazonaws.com/
 twitter_production/profile_images/257370741/ObamaAvatar_bigger.png)

 * Test account with changed picture:
 http://twitter.com/users/show/anonymous_.xml
 * My account without no changes: http://twitter.com/users/show/kmakice.xml

 One other oddity: This test account has a background image (not one
 that is currently used, but it still exists) that also lacks an
 extension. I believe I had changed it through the API, several month
 ago. That incomplete link, however, DOES resolve to a graphic.

 * Test account background image:

 http://s3.amazonaws.com/twitter_production/profile_background_images/4987975/phpBhOnhz
 (unchanged)
 * Test account profile image:

 http://s3.amazonaws.com/twitter_production/profile_images/98187860/phpbnQSdI_normal
 (changed)

 I thought perhaps the funky profile image URI would eventually
 resolve, but even after several hours, it didn't. (I have since
 conducted new tests, so the changes aren't that old anymore.)

 My questions:

 1) Is this no-extension link in the *_image_url values a new format?
 Meaning, if I uploaded a new profile picture to my account, would it
 also have no extension?

 2) Why doesn't the link in the profile_image_url change with each new
 upload?

 Thanks,
 Kevin


[twitter-dev] Re: Twitter API source for googlemap

2009-06-03 Thread Clint Shryock
The Twitter API reference can be found here:
http://apiwiki.twitter.com/Twitter-API-Documentation

http://apiwiki.twitter.com/Twitter-API-DocumentationYou cannot download
it, but you're free to use it within the Terms of Service:
http://apiwiki.twitter.com/Terms-of-Service

+Clint

On Wed, Jun 3, 2009 at 6:58 AM, Kavita Mevada kavitaro...@gmail.com wrote:


 I want to download api for Twitter which are made in JavaScript.
 Beacuse i want to integrate with googlemap. at where i have to display
 a twitter feed based on some topic continuously with feed posted user
 's all information with latitude longitude. so give me download url
 where i download twitter api for googlemap



[twitter-dev] Re: update_profile_background_image API doesn't work

2009-05-16 Thread Clint Shryock
http://code.google.com/p/twitter-api/issues/detail?can=2q=451id=451
It's labeled as fixed but the comments after the fix was posted
indicate otherwise.
also,

http://code.google.com/p/twitter-api/issues/detail?id=497colspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone

is relevant

+Clint


[twitter-dev] Re: Profile Image Uploading - image doesn't change ...

2009-04-27 Thread Clint Shryock
Updating background and profile images is buggy right now, it's a known
issue
http://code.google.com/p/twitter-api/issues/detail?id=451q=imagecolspec=ID%20Stars%20Type%20Status%20Priority%20Owner%20Summary%20Opened%20Milestone

+Clint

On Mon, Apr 27, 2009 at 5:16 AM, janole s...@mobileways.de wrote:


 Hi,

 I'm trying to upload a user profile image via the API and I'll get a
 200 OK and the user-info in JSON as a return. However, the profile
 image doesn't change.

 Tried with different image names and sizes but to no avail.

 By the way, when sending without a Content-Type: image/jpeg ( but
 application/octet-stream ), the API said the image file was probably
 too large - it was ~ 70kB though.

 Not sure if there's something wrong in the form/multipart code, but on
 the other hand the same code is working for TwitPic/MobyPicture/
 Posterous and TwitGoo.

 Cheers
 @janole / Gravity



[twitter-dev] Re: twiiter functionality help

2009-04-21 Thread Clint Shryock
what have you tried?

On Tue, Apr 21, 2009 at 12:58 AM, mraj...@gmail.com mraj...@gmail.comwrote:


 i am developing a twitter application in php. My application unfollows
 the tweets, who are not following back.
 and i want functionality which allow the user to use the site once
 every 24 hours. Is there any way of doing this function ?? please help
 me asap on this functionaly.



[twitter-dev] Re: embed twitter search results in blog

2009-04-03 Thread Clint Shryock
It's hard to advise with out knowing specifics of your blog.are you
developing a widget/plugin for wordpress, is this a blog you wrote yourself,
etc etc

_cts

On Fri, Apr 3, 2009 at 5:56 AM, zam anrpal...@gmail.com wrote:


 Hi

 I'm running a twiter search and have an atom feed for it:

 http://search.twitter.com/search.atom?q=+from%3Anetmag+OR+01net+OR+RSS_AFP+OR+ArchitectsJrnal

 I'd like to embed this feed into my blog in the same way that I can
 embed my own twitter feed (widget).

 Can anyone point me to a tut or give me some pointers?

 Thanks



[twitter-dev] Re: Delay in display of profile image updated via API

2009-04-03 Thread Clint Shryock
This is how the API has worked in the past, I'm sure the delay is something
they're working hard on, as evident by other threads on this list.  patience
is the only thing I can suggest at this point...
_cts

On Fri, Apr 3, 2009 at 2:21 AM, Raghu Prasad prasad.ragh...@gmail.comwrote:

  I want my new image to be displayed on Twitter
 within
 minutes after I upload them.



[twitter-dev] Re: Hi All

2009-04-02 Thread Clint Shryock
Do you know how many actual tweets you are getting?  The Twitter Search API
doesn't explicitly say so, but the way I'm reading it seems to only return
up to 1500 tweets.
_cts



On Thu, Apr 2, 2009 at 1:43 AM, Seema Nagar nagar.se...@gmail.com wrote:

 I am new to twitter.  I am trying twitter search API to get last one
 month's data(
 http://search.twitter.com/search.atom?geocode=51.500152%2C-0.126236%2C15milang=enq=+movie+since%3A2009-03-03+until%3A2009-03-30+near%3Alondon+within%3A15mi).
   Unfortunately I get only fifteen
 pages :(. Has anybody tried this before ? Or is there a way to get
 remaining tweets ?


 Thanks in advance.


 regards,
 Seema





[twitter-dev] Re: Delay in display of profile image updated via API

2009-04-02 Thread Clint Shryock

 Can you please give some pointer to how

to

use local source to represent the new avatar?


My application (a desktop application) allows a user to select a file on the
hard drive and upload it to Twitter.  This application also displays the
users current Twitter avatar.  When the application uploads a new avatar and
receives the 200 status back, instead of querying Twitter for the new
avatar, I simply use the one on disk and display it to the user.
This isn't ideal, I'd rather re-query Twitter and grab the image from them
to be sure, but as we've described that's not always working
correctly/quickly.

Is there any way to supply my

own

URL of the image which is hosted on a third party server?


not to my knowledge, or anywhere I can find on the API.  I would think this
would be a bad idea.

 If web interface also uses the same API calls, how is

this

possible? Or is there a difference in the upload policy based on the

client

software in use?


I don't know that the web interface necessarily uses the API.  It's possible
that the API for Twitter is not the same as Twitter the application itself.
 Either way, the API is what we have to use

_ct



On Thu, Apr 2, 2009 at 3:41 AM, Raghu Prasad prasad.ragh...@gmail.comwrote:



 On Apr 1, 5:49 pm, Clint Shryock cts...@gmail.com wrote:
  The lag wasn't nearly as noticeable when the update_profile_image was
 first
  offered, but has since as you noted become considerable.
  As a work around my app, which updates profile images from a local
 source,
  uses the local source to represent the new avatar after I receive the
 HTTP
  status codes that indicate the upload was successful.

 I am a newbie to Twitter API. Can you please give some pointer to how
 to
 use local source to represent the new avatar? As I understand, the
 method
 update_profile_image takes multipart form data and stores the image
 contained in it on Twitter's storage space. The avatar shown near the
 tweets are
 picked up from Twitter's storage only. Is there any way to supply my
 own
 URL of the image which is hosted on a third party server?

 Another issue which surprised me was that if I upload my profile image
 using
 my web browser, instead of using curl, the avatar is displayed near my
 tweets
 immediately. If web interface also uses the same API calls, how is
 this
 possible? Or is there a difference in the upload policy based on the
 client
 software in use?

 Raghu



[twitter-dev] Re: Determining Sex/Gender with the API?

2009-04-02 Thread Clint Shryock
we're back to using magic then are we?;)
_cts

On Thu, Apr 2, 2009 at 12:40 PM, Zac Bowling zbowl...@gmail.com wrote:


 Bought! :-)

 Now I just need to cast Time Magicus Level 20 to find the time to develop
 it.

 Zac Bowling





[twitter-dev] Re: Can we make this a private list?

2009-04-01 Thread Clint Shryock
On Tue, Mar 31, 2009 at 5:48 PM, Andrew Badera and...@badera.us wrote:

  And there's no reason in the world to expose this list to people who
 aren't making API calls -- period!


This line suggests that you should be currently developing an app (thus
making API calls) to access this list, which is contrary to what almost
everyone has already said in this thread.
I think this thread has out lived it's usefulness.  Most everyone seems to
agree it is in everyones best interest to keep this group open to all.  If
you have something you need to keep private please consider some other means
than this group

_cts


[twitter-dev] Re: Delay in display of profile image updated via API

2009-04-01 Thread Clint Shryock
The lag wasn't nearly as noticeable when the update_profile_image was first
offered, but has since as you noted become considerable.
As a work around my app, which updates profile images from a local source,
uses the local source to represent the new avatar after I receive the HTTP
status codes that indicate the upload was successful.

Ideally I'd like to grab the new image from twitter and use that, as a bit
of extra confirmation, but that doesn't seem to be feasible at this time

_cts

On Wed, Apr 1, 2009 at 7:37 AM, Cameron Kaiser spec...@floodgap.com wrote:


  I am able to update my profile image using curl. But the new image
  doesn't come up immediately near my tweets. Instead I find my full
  name at that place. It shows up only after an hour or so. BTW, if I
  access http://twitter.com/account/profile_image/X (X being
  the username), I can see the newly updated image immediately.
  This problem is not noticed if I update my profile image using a web
  browser. What is the way to update profile image via API so that
  the newly updated image come up near your tweets immediately?

 If I'm understanding you correctly, there isn't. There is a lag while the
 new image gets propagated to the servers.

 --
  personal:
 http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
 ckai...@floodgap.com
 -- Two can live as cheaply as one, for half as long.
 --



[twitter-dev] Re: Background Image Problem

2009-03-24 Thread Clint Shryock
care to be more specific?

On Mon, Mar 23, 2009 at 3:16 PM, ctmtcolumbus whe...@ctmt.com wrote:


 I am also having the same problem. Did anyone else get this fixed?