[twitter-dev] Re: Paging for friends/ids

2009-05-25 Thread jmathai

This is reported as a bug here: 
http://code.google.com/p/twitter-api/issues/detail?id=613

Definitely is a bug if their docs are correct.  statuses/followers
works as expected using the page parameter.

On May 22, 3:09 pm, elversatile elversat...@gmail.com wrote:
 It seems that paging is not working correctly for friends/ids call. I
 was trying to page through friends of Barack Obama by 
 doinghttp://twitter.com/friends/ids/barackobama.xml?page=1,http://twitter.com/friends/ids/barackobama.xml?page=2,
  etc. But it
 seems that every file just gets bigger, e.g., first I get 5000 ids,
 then 1, up to 20 when on page 40 and then it just stop
 working.

 I thought the intention was to page through friends 5000 ids at a
 time, instead it seems like it's giving me everything through that
 page number, until it can no longer fetch that many.

 Is it a known problem? Any way around this?


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

2009-05-25 Thread Craig Hockenberry

Yes, please!

Since we don't really know what the conference schedule looks like
right now, I'm going to say that any afternoon except Monday and
Friday would be best.

-ch

On May 21, 2:18 pm, 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


[twitter-dev] Re: Streaming API: Spritzer-stream coverage

2009-05-25 Thread elversatile

How are spritzer statuses sampled? Are they picked uniformly at
random? Or is there some logic behind it?

Also, what makes it statistically insignificant? Is it its
percentage in relation to the entire stream or the way it is sampled?

Thanks,
-Eldar

On May 24, 8:23 pm, John Kalucki jkalu...@gmail.com wrote:
 Sven,

 Excluding connection ramp-up and ramp-down skew, each spritzer feed
 delivers the same statuses as all other spritzer feeds. Likewise, each
 gardenhose feed delivers the same statuses as all other gardenhose
 feeds. Also, spritzer feeds are a strict subset of gardenhose feeds.
 There's no point in consuming multiple sampled feeds (spritzer/
 spritzer, gardenhose/spritzer, gardenhose/gardenhose), as you'll just
 receive duplicate data.

 Multiple sessions on sampled feeds just waste scarce resources and you
 also may find your access automatically limited for a period of time.
 Reduce, reuse, recycle!

 -John Kalucki
 Services, Twitter Inc.

 On May 24, 10:51 am, Sven Svensson twitterf...@gmail.com wrote:

  Thanks for an excellent API.

  I have two questions in relation to the streaming API:

  * Assume that two users are both reading the spritzer stream at the same
  time - will they get the same spritzer streams covering the same subset of
  all tweets, or will they get two separate spritzer streams covering
  different tweets?

  * Roughly what percentage of all tweets are distributed in the spritzer
  stream? Is it in the region of four percent of all tweets (my guesstimate)?

  Thanks!


[twitter-dev] Re: geocode doesnt include non-geocoded locations? (web)

2009-05-25 Thread Sherif

Yeah - what Chris said.. I'm trying to geo-plot location.. but because
twitter lets users enter anything for location - people enter a lot of
rubbish sometimes... Makes it a bit interesting when you are trying to
geo-plot!

Does anyone know if there is a twitter feature request raised to force
the user to enter a proper location? or one that give me a users
location based on an IP-range.. ? Maybe we should raise one?...

Sherif


On May 24, 1:34 pm, Zee zeeom...@gmail.com wrote:
 Thanks Chris, i believe you are right. Will have to somehow modify my
 application to estimate the location.

 On May 23, 10:03 am, Chris Thomson chri...@chris24.ca wrote:

  I believe locations are based solely on what the user enters in for their
  location. In other words, it could be inaccurate, left blank, or the place
  might not even exist. I'd assume that if Twitter was automatically guessing
  at where people are based on their IP, they'd have something to say about
  that in their privacy policy [1].

  1 -http://twitter.com/privacy

  -Chris Thomson

  On Sat, May 23, 2009 at 3:55 AM, Zee zeeom...@gmail.com wrote:

   No responses???- Hide quoted text -

  - Show quoted text -


[twitter-dev] Re: Paging for friends/ids

2009-05-25 Thread elversatile

Could somebody help me solve the paging dilemma?

At least, tell me if it is a bug, or it is my misunderstanding of API?

On May 22, 3:09 pm, elversatile elversat...@gmail.com wrote:
 It seems that paging is not working correctly for friends/ids call. I
 was trying to page through friends of Barack Obama by 
 doinghttp://twitter.com/friends/ids/barackobama.xml?page=1,http://twitter.com/friends/ids/barackobama.xml?page=2,
  etc. But it
 seems that every file just gets bigger, e.g., first I get 5000 ids,
 then 1, up to 20 when on page 40 and then it just stop
 working.

 I thought the intention was to page through friends 5000 ids at a
 time, instead it seems like it's giving me everything through that
 page number, until it can no longer fetch that many.

 Is it a known problem? Any way around this?


[twitter-dev] Setting the status of m.twitter.com

2009-05-25 Thread Matthias Lübken

I am setting the status of Twitter.com with the following URL:
http://twitter.com/home?status=Hello

This work great on my desktop but not on my mobile device. You can see
the error by following this URL: http://m.twitter.com/home?status=Hello

Is setting the status on the mobile version of Twitter turned off on
purpose?

Matthias


[twitter-dev] To get User email id as given in the User Profile

2009-05-25 Thread sravs..

hi,

I am a new user. can anyone tell me is there any way to get the
email id of the user once the user has given access to a consumer
application via oauth

This is really urgent...

Sravanthi


[twitter-dev] Re: The Data Mining Feed has troubles?

2009-05-25 Thread Junki OHMURA

Hi everyone.

I'm sorry for the late reply.
As you say, I'm now trying to obtain public_timeline from the streaming API.
As a result, I realized It's really wonderful methods for me.

THANKS!

---
Junki OHMURA
http://twitter.com/jonki


2009/5/23 Doug Williams d...@twitter.com:
 The streaming API will be our method to provide access large sets of data
 moving forward. We are working on a method to automate the handling requests
 to /gardenhose at the moment which should be deployed shortly.
 There is an open issue [1] for public_timeline and datamining feed trouble,
 but as you can tell it is not a priority given that /spritzer has open
 access, has been rock solid, and gives more data than the 600 tweet per
 minute available with a working datamining feed. If you need data, we
 encourage you to start with /spritzer and move to /gardenhose when the click
 through agreement system is finished in the near future.
 1. http://code.google.com/p/twitter-api/issues/detail?id=582
 Thanks,
 Doug
 --

 Doug Williams
 Twitter Platform Support
 http://twitter.com/dougw



 On Fri, May 22, 2009 at 10:30 AM, AJ Chen cano...@gmail.com wrote:

 The data mining feed is not functional for several days, and it will be
 phased out shortly according to Alex's email yesterday. The better
 replacement is streaming API.
 -aj

 On Fri, May 22, 2009 at 5:45 AM, junki junki.ohm...@gmail.com wrote:

 Hi, there.

 I've got a The Data Mining Feed's right about 1 mouth ago.
 Since then, I could obtained 600 recent public statuses per a minute
 with my shell script.

 But last few days, I could get only 20 tweets. 20 is acquired by
 normal API-Method.
 Does it mean that I was banned by Twitter API Team?
 The acount allowed The Data Mining Feed is http://twitter.com/jonki_bot

 Thanks to your help.

 ---
 Junki OHMURA (http://twitter.com/jonki)



 --
 AJ Chen, PhD
 Co-Chair, Semantic Web SIG, sdforum.org
 Technical Architect, healthline.com
 http://web2express.org
 Palo Alto, CA




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

2009-05-25 Thread jstrellner

I'm not going to WWDC, nor am I an Apple developer, but I'd be
interested in meeting up with other developers.

The later in the day, the better for me.

-Joel

On May 21, 2:18 pm, 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


[twitter-dev] Re: To get User email id as given in the User Profile

2009-05-25 Thread Stuart

2009/5/25 sravs.. sravanthi.su...@gmail.com:

 hi,

 I am a new user. can anyone tell me is there any way to get the
 email id of the user once the user has given access to a consumer
 application via oauth

 This is really urgent...

No, the API does not make users email addresses available. And a very
good thing that is too!!

-Stuart

-- 
http://stut.net/projects/twitter/


[twitter-dev] Has anyone created a mashup or experimented with Navizon API + Twitter API?

2009-05-25 Thread J...

Is anybody interested in a project like this?  Please let me know.


[twitter-dev] Has anybody experimented with Fire Eagle API + Twitter API?

2009-05-25 Thread J...

Is there anybody currently working with these two API's?  If so let me
know.


[twitter-dev] Re: To get User email id as given in the User Profile

2009-05-25 Thread jmathai

Don't hold your breath for that one :)

On May 25, 6:59 am, sravs.. sravanthi.su...@gmail.com wrote:
 hi,

 I am a new user. can anyone tell me is there any way to get the
 email id of the user once the user has given access to a consumer
 application via oauth

 This is really urgent...

 Sravanthi


[twitter-dev] Re: Has anybody experimented with Fire Eagle API + Twitter API?

2009-05-25 Thread EdPimentl
We have implemented FireEagle with http://TwitR.me

-E
Gpro.ws


[twitter-dev] Sign in with Twitter Module

2009-05-25 Thread Abraham Williams
I just finished a Sign in with Twitter Drupal module and would love to have
some people test it out.

http://github.com/abraham/sign-in-with-twitter

Abraham

-- 
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.
Sent from San Francisco, California, United States


[twitter-dev] Is the spritzer supposed to be as fast as the datamining feed?

2009-05-25 Thread Twittledee

Hello:
 In an answer to a different question in this group, Doug said that
the spritzer was supposed to be as fast as the datamining feed. Is
that right? We only get 5.3 msg/sec on avg. for the spritzer. If this
is right, then we are only getting half the speed we should be ... and
I will have to debug our code. We get 18.7 msg/sec avg. on the
gardenhose, so I thought everything was right/okay. Can others state
their rates for these two streams?

Thanks


[twitter-dev] how are people collecting spritzer/gardenhose?

2009-05-25 Thread Brendan O'Connor
spritzer is great!  well done folks.
I'm wondering how other people are collecting the data.  I'm saving the
json-per-line raw output to a flatfile, just using a restarting curl, then
processing later.

Something as simple as this seems to work for me:

while true; do
  date; echo starting curl
  curl -s -u user:pass http://stream.twitter.com/spritzer.json 
tweets.$(date --iso)
  sleep 1
done | tee curl.log

... and also, to force file rotation once in a while:

while true; do
  date; echo forcing curl restart
  killall curl
  sleep $((60*60*5))
done | tee kill.log


anyone else?

-Brendan


[twitter-dev] Re: Streaming API: Spritzer-stream coverage

2009-05-25 Thread stephane

looking at the tweet ids it looks like the spitzer stream delivers 5
tweets every hundreds
this would make it a 5% of the firehose

am i correct?

Stephane
http://www.twazzup.com

On May 25, 12:17 am, elversatile elversat...@gmail.com wrote:
 How are spritzer statuses sampled? Are they picked uniformly at
 random? Or is there some logic behind it?

 Also, what makes it statistically insignificant? Is it its
 percentage in relation to the entire stream or the way it is sampled?

 Thanks,
 -Eldar

 On May 24, 8:23 pm, John Kalucki jkalu...@gmail.com wrote:

  Sven,

  Excluding connection ramp-up and ramp-down skew, each spritzer feed
  delivers the same statuses as all other spritzer feeds. Likewise, each
  gardenhose feed delivers the same statuses as all other gardenhose
  feeds. Also, spritzer feeds are a strict subset of gardenhose feeds.
  There's no point in consuming multiple sampled feeds (spritzer/
  spritzer, gardenhose/spritzer, gardenhose/gardenhose), as you'll just
  receive duplicate data.

  Multiple sessions on sampled feeds just waste scarce resources and you
  also may find your access automatically limited for a period of time.
  Reduce, reuse, recycle!

  -John Kalucki
  Services, Twitter Inc.

  On May 24, 10:51 am, Sven Svensson twitterf...@gmail.com wrote:

   Thanks for an excellent API.

   I have two questions in relation to the streaming API:

   * Assume that two users are both reading the spritzer stream at the same
   time - will they get the same spritzer streams covering the same subset of
   all tweets, or will they get two separate spritzer streams covering
   different tweets?

   * Roughly what percentage of all tweets are distributed in the spritzer
   stream? Is it in the region of four percent of all tweets (my 
   guesstimate)?

   Thanks!


[twitter-dev] Re: Poll: Demographics of Twitter Dev--please answer a few questions

2009-05-25 Thread Neicole

Thanks, Doug. I agree we probably know what to expect. But never want
to assume. Sometimes the data does surprise you.

On May 22, 10:10 am, Doug Williams d...@twitter.com wrote:
 I just sent a tweet over @twitterapi to illicit more participation. I think
 we all know what to expect from the responses though :)

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw



 On Fri, May 22, 2009 at 4:47 AM, pplante pplante@gmail.com wrote:

  I created a Google Docs Form for this.  It can be accessed via:
 http://spreadsheets.google.com/embeddedform?key=rIpaN9uOwhiJnq2I0jqMPPw

  Google automatically summarizes this data for us, also it can be made
  public.  For results goto:
 http://spreadsheets.google.com/pub?key=rIpaN9uOwhiJnq2I0jqMPPwoutput...- 
 Hide quoted text -

 - Show quoted text -


[twitter-dev] Re: Is the spritzer supposed to be as fast as the datamining feed?

2009-05-25 Thread Chad Etzel

I only have access to the /spritzer stream, but currently I am seeing
a rate of around 400 tweets/minute.
-Chad

On Mon, May 25, 2009 at 10:20 PM, Twittledee webs...@twittledee.com wrote:

 Hello:
  In an answer to a different question in this group, Doug said that
 the spritzer was supposed to be as fast as the datamining feed. Is
 that right? We only get 5.3 msg/sec on avg. for the spritzer. If this
 is right, then we are only getting half the speed we should be ... and
 I will have to debug our code. We get 18.7 msg/sec avg. on the
 gardenhose, so I thought everything was right/okay. Can others state
 their rates for these two streams?

 Thanks



[twitter-dev] Are twitter api statuses/public_timeline and statuses/user_timeline method unavailable?

2009-05-25 Thread sky

Are twitter api statuses/public_timeline and statuses/user_timeline
method unavailable?
what's the relationship between statuses method and the new Streaming
API?

I'm so puzzled.Anybody help? Thank you!


[twitter-dev] Sending DMs via curl with extended characters?

2009-05-25 Thread TjL

OK, so I'm doing something wrong here:

curl -D - -s -u tj:SECKRET \
-d text=BstTwt: #10085; @tj Her:quot;The lightbulbs are over the
dryerquot; Me:quot;The rooster flies east at dawnquot;
Her:quot;What?quot; Me: quot;Oh, I thought we were talking like
spiesquot; user=tj  http://twitter.com/direct_messages/new.xml

That will go through with no error, HOWEVER, what actually gets sent
is truncated at the first 

(The same thing happens if there's a amp; or quot;)

S... what am I doing wrong?

Or, How can I get the entire message to go through?

I can't change it back, because if I switch quot; into a  that will
confuse this too.

Thanks

TjL


[twitter-dev] Re: Poll: Demographics of Twitter Dev--please answer a few questions

2009-05-25 Thread Neicole

Hi, Doug. Thanks again for tweeting this to twitterapi.  You can see
my blog post on the results, Twitter Developers vs Twitter Users:
Demographics, with some comparison charts at http://nmc.itdevworks.com/

On May 22, 10:10 am, Doug Williams d...@twitter.com wrote:
 I just sent a tweet over @twitterapi to illicit more participation. I think
 we all know what to expect from the responses though :)

 Doug Williams
 Twitter Platform Supporthttp://twitter.com/dougw



 On Fri, May 22, 2009 at 4:47 AM, pplante pplante@gmail.com wrote:

  I created a Google Docs Form for this.  It can be accessed via:
 http://spreadsheets.google.com/embeddedform?key=rIpaN9uOwhiJnq2I0jqMPPw

  Google automatically summarizes this data for us, also it can be made
  public.  For results goto:
 http://spreadsheets.google.com/pub?key=rIpaN9uOwhiJnq2I0jqMPPwoutput...- 
 Hide quoted text -

 - Show quoted text -


[twitter-dev] Poll results: Twitter Developer Demographics

2009-05-25 Thread Neicole

Thanks to pplante and Doug Williams for creating the form and tweeting
an invite, expanding the survey base well beyond what I had planned.
The graphs noted here show the results best:
http://spreadsheets.google.com/viewanalytics?key=rIpaN9uOwhiJnq2I0jqMPPw

You can see my blog post on this with a comparison of these
demographics against those of Twitter users here:
http://nmc.itdevworks.com/

Interesting to note the differences and how they might affect thinking
about Twitter apps.


[twitter-dev] Re: Sending DMs via curl with extended characters?

2009-05-25 Thread Chad Etzel

Since data is sent as POST variables, they are encoded as
var1=var1var2=val2... pairs.  In order to include an  in a data
value, you must URLencode it as %26

-Chad

On Tue, May 26, 2009 at 12:25 AM, Abraham Williams 4bra...@gmail.com wrote:
 You can escape s with i think \ or maybe /

 On Mon, May 25, 2009 at 21:11, TjL luo...@gmail.com wrote:

 OK, so I'm doing something wrong here:

 curl -D - -s -u tj:SECKRET \
 -d text=BstTwt: #10085; @tj Her:quot;The lightbulbs are over the
 dryerquot; Me:quot;The rooster flies east at dawnquot;
 Her:quot;What?quot; Me: quot;Oh, I thought we were talking like
 spiesquot; user=tj  http://twitter.com/direct_messages/new.xml

 That will go through with no error, HOWEVER, what actually gets sent
 is truncated at the first 

 (The same thing happens if there's a amp; or quot;)

 S... what am I doing wrong?

 Or, How can I get the entire message to go through?

 I can't change it back, because if I switch quot; into a  that will
 confuse this too.

 Thanks

 TjL



 --
 Abraham Williams | http://the.hackerconundrum.com
 Hacker | http://abrah.am | http://twitter.com/abraham
 Project | http://fireeagle.labs.poseurtech.com
 This email is: [ ] blogable [x] ask first [ ] private.
 Sent from San Francisco, California, United States