[twitter-dev] Re: Google Android

2009-07-25 Thread Christine

HttpClient on Android is the same as HttpClient in general. You create
a client, create an httpPost and send it to twittter.

It's something like

DefaultHttpClient client = new DefaultHttpClient();
HttpPost post = new HttpPost(postString);
localContext = new BasicHttpContext();
client.getCredentialsProvider().setCredentials(
  new AuthScope(DOMAIN, 80, Twitter API),
  new UsernamePasswordCredentials(myUserName, password));
BasicScheme basicAuth = new BasicScheme();
localContext.setAttribute(preemptive-auth, basicAuth);
client.addRequestInterceptor(new PreemptiveAuth(), 0);
HttpResponse response = client.execute(post, localContext);
HttpEntity entity = response.getEntity();
InputStream in = entity.getContent();

etc.



On Jul 25, 6:28 am, Matthew Jurkoic mjurk...@gmail.com wrote:
 Can anyone direct me to some code examples of Google Android
 connecting to Twitter? I've played with HttpClient but have not had
 any luck. Thank you.


[twitter-dev] Re: user ambiguity

2009-06-28 Thread Christine

On Jun 28, 1:06 am, Nick Arnett nick.arn...@gmail.com wrote:

 That's what happens when people don't think of everything in the first
 release.

and they call these things backward compatibility.

I mentioned this feature to both users 1250 and they didn't seem to
bother too much. At least now they know each other. One of them
certainly is an early adopter.



 ;-)

 Nick


[twitter-dev] Re: WWDC Twitter developer meetup at Twitter HQ: RSVP!

2009-05-24 Thread Christine

I'm not attending wwdc but I'd love to come. I can only make it before
June 10th.

On May 24, 12:21 am, Paris Buttfield-Addison pa...@tbmn.net wrote:
 Sounds great, any night works for me.

 Keep us updated!

 Cheers,
 Paris

 On May 22, 7:18 am, Alex Payne a...@twitter.com wrote:



  Hi all,

  There's great crossover between Twitter API developers and Mac/iPhone
  developers. Andrew Stone, developer of Twittelator Pro, suggested that
  we all get together during WWDC and coordinate around the Apple Push
  Notification Service and other issues of mutual interest. Twitter's
  offices are just a few blocks from Moscone, so it should be easy for
  any interested coders to make it over here.

  Please RSVP with a reply to this thread and let us know what dates and
  times work for you. Andrew was thinking early one morning, but not
  being much of a morning person, I'd prefer something later in the day.
  We'll let group consensus decide.

  Thanks, and hope to see you in early June.

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x- Hide quoted 
  text -

 - Show quoted text -