[twitter-dev] Re: Can we update geo_enabled field in account profile via API ?

2009-09-28 Thread Abraham Williams
My understanding is Twitter wants the opt-in to be explicitly done by the
user. If it is changeable through the API apps could enable it without the
consent of the user.
Abraham

On Mon, Sep 28, 2009 at 13:03, CodeWarden  wrote:

>
> Hello,
>
> Really looking forward to the ability to include lat/long with
> tweets.  However, since all of my users are on mobile devices, it
> would be most useful if they could change the geo_enabled flag via the
> API.   Before you enable this capability could you allow the update
> profile method to also update the geo_enabled flag?
>
> -Paul
>



-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Chris Babcock

On Mon, 28 Sep 2009 16:49:29 -0700 (PDT)
Dewald Pretorius  wrote:

> Then I don't understand. Why would OneForty elect to pay the
> developer's 70% in the form of a gift or donation to the developer?

All hypothetical, no malice imputed...

 - What if program costs run away and there isn't enough $$$ to cover
   the obligations? How much can developers legally recover? 30%.

 - Above a certain $$$ threshold, the accounting requirements change.
   Reporting 70% of the distribution as a gift effective triples the
   total payments that can be made to a developer before tax status
   changes.

 - Some development *is* done by non-profit organizations or could
   possibly be donated to a non-profit. If the structure of the
   developer agreement was conduscive to it, as this is, then
   non-profit work and code donations to non-profit orgs would be
   encouraged and there could be tax benefits.

Chris Babcock



[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Abraham Williams
There is no humor like geek humor :)
Abraham

On Tue, Sep 29, 2009 at 01:13, Nalin Savara  wrote:

>
> Nice logic Chad... Especially the way you parsed that expression into
> all permutations.
>
> Regards,
> N S
>
> On 9/29/09, Chad Etzel  wrote:
> >
> > Uh, I guess it was unclear from the subject/body split of the question
> > what exactly was meant...
> >
> > "How do I get the user_id for a screen_name WITHOUT using a
> > rate-limited call or one with authentication."
> >
> > ...can be read:
> >
> > How do I get the user_id for a screen_name without using a rate-limited
> > call?
> > And, how do I get the user_id for a screen_name without using one with
> > authentication.
> >
> > ...or, it could be read:
> >
> > How do I get the user_id for a screen_name without using a rate-limited
> > call?
> > Or, how do I get the user_id for a screen_name using one with
> > authentication.
> >
> > I read it the first way, due to the subject/body split...
> >
> > Boolean algebra, ftw?
> >
> > -Chad
> >
> >
> > On Tue, Sep 29, 2009 at 1:17 AM, Abraham Williams <4bra...@gmail.com>
> wrote:
> >> You can make any of the REST API calls with authentication.
> >> Abraham
> >>
> >> On Mon, Sep 28, 2009 at 22:10, Andy Freeman 
> wrote:
> >>>
> >>> using a rate-limited call or one with authentication.
> >>>
> >>> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
> >>> terms of user-id.
> >>
> >>
> >>
> >> --
> >> 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.
> >> Sent from Madison, WI, United States
> >
>
> --
> Sent from Gmail for mobile | mobile.google.com
>



-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: First time working with OAuth want to do some automated stuff

2009-09-28 Thread Josh Roesslein

If you are new to OAuth check out http://oauth.net first. There is important
details you need to know in the spec before you get started. The site
also provides
links to libraries for about every major language out there. Not sure
if you rolled your
own twitter library or what language you using.

To get the access token you just need to fetch an request token,
authorize it, and then exchange
it for an access token. There is not a way to automate the
authorization step. You can check out this
python script [1] which queries for your consumer key/secret then
opens the authorization link in the browser.
At the end you get your access token. Note: it depends on this [2] library.

Where you go next depends on which library / language you go with.

Best of luck,

Josh

[1] http://www.pastie.org/634526
[2] http://github.com/joshthecoder/tweepy


[twitter-dev] Re: search results using rpp and page parmeter stay the same

2009-09-28 Thread Abraham Williams
Ya. Sorry bout the miss info I reread the docs and forgot to correct
myself.
Luckily Chad is on the ball though. :)

Abraham

On Mon, Sep 28, 2009 at 17:26, Yaniv Golan  wrote:

>
> Thanks for that Chad
>
>
> On Sep 28, 6:03 pm, Chad Etzel  wrote:
> > Hello,
> >
> > The 1500 result limit _is_ for the Search API. The results are limited
> > to 1500 or the last 7ish days, whichever occurs first.
> >
> > Yaniv, the rpp ("results per page") parameter is how many results will
> > be returned with each request. The page parameter is basically an
> > offset indicator.
> >
> > To get all 15 pages (1500 results), you would need to make 15 calls to
> > get results:
> >
> >
> http://search.twitter.com/search.atom?q=foo&rpp=100&page=1http://search.twitter.com/search.atom?q=foo&rpp=100&page=2http://search.twitter.com/search.atom?q=foo&rpp=100&page=3
> > ...http://search.twitter.com/search.atom?q=foo&rpp=100&page=15
> >
> > There is not a way to get more than 100 results per request from the
> Search API.
> >
> > -Chad
> >
> > On Mon, Sep 28, 2009 at 3:36 AM, Yaniv Golan 
> wrote:
> >
> > > Abraham, thanks for replying.
> > > something still doesn't make sense...
> > > how come i always get 100 results? I'm sure there are more tweets that
> > > match this search criteria
> > > how can i get the max result per call?
> >
> > > On Sep 28, 7:25 am, Abraham Williams <4bra...@gmail.com> wrote:
> > >> The 1500 result limit is for the REST API. The Search API is limited
> based
> > >> on time which last I heard was around 7 days.
> > >> Abraham
> >
> > >> On Sun, Sep 27, 2009 at 18:33, Yaniv Golan 
> wrote:
> >
> > >> > Hi all
> > >> > I'm submitting this query to twitter search
> > >> > 'http://search.twitter.com/search.atom?ors=via
> > >> > +RT&rpp=100&page=15&filter=links'
> > >> > and gets only 100 results,
> > >> > according to the api docs i can get up to 1500 results
> > >> > i also get this warning
> > >> > "adjusted since_id to 4133426182 (2009-09-20 23:00:00 UTC),
> requested
> > >> > since_id was older than allowedsince_id removed for pagination"
> > >> > can anyone please explain what i'm doing wrong here?
> >
> > >> --
> > >> 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.
>



-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: First time working with OAuth want to do some automated stuff

2009-09-28 Thread Jim Renkel
In answer to your question "Is there a way to automatically get the
access tokens without
me making a web page that will ask me to login to twitter and
authenticate?", I requested this as an enhancement. Here's the URL to
the request:
 
http://code.google.com/p/twitter-api/issues/detail?id=1011
 
Al3x replied that they are working on something to help us out here, but
no ETA promised.
 
You may want to visit the issue and star it to give it a little more
weight.
 
Thanks,
 
Jim Renkel
 
-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of Abraham
Williams
Sent: Tuesday, September 29, 2009 01:26
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Re: First time working with OAuth want to do some
automated stuff
 
 
On Mon, Sep 28, 2009 at 18:50, Hintswen  wrote:

I currently have a script running on my server using basic
authentication and tweeting rss feeds to a number of different
accounts.

I want to do something similar to that but using OAuth (seeing as I
cant register an application for basic auth anymore). But I'm lost,
OAuth requires a browser to work doesn't it? but my script wont be run
from a browser.
 
I'm not sure if you are using PHP but here is a blog post about running
server scripts with OAuth:
http://kovshenin.com/archives/automatic-tweet-oauth/
 
Do I have to make an authorize page and load that in a web browser to
get the access tokens and then put them into my script? 
 
Yes.
 
Will they ever expire? 
 
No.
 
Is there a way to automatically get the access tokens without
me making a web page that will ask me to login to twitter and
authenticate?

You could write an HTML parser to parse the authorization page but that
would be a lot of work and error prone. 
 
Abraham

-- 
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.
Sent from Madison, WI, United States 


[twitter-dev] Re: First time working with OAuth want to do some automated stuff

2009-09-28 Thread Abraham Williams
On Mon, Sep 28, 2009 at 18:50, Hintswen  wrote:

>
> I currently have a script running on my server using basic
> authentication and tweeting rss feeds to a number of different
> accounts.
>
> I want to do something similar to that but using OAuth (seeing as I
> cant register an application for basic auth anymore). But I'm lost,
> OAuth requires a browser to work doesn't it? but my script wont be run
> from a browser.
>

I'm not sure if you are using PHP but here is a blog post about running
server scripts with OAuth:
http://kovshenin.com/archives/automatic-tweet-oauth/


> Do I have to make an authorize page and load that in a web browser to
> get the access tokens and then put them into my script?


Yes.


> Will they ever expire?


No.


> Is there a way to automatically get the access tokens without
> me making a web page that will ask me to login to twitter and
> authenticate?
>

You could write an HTML parser to parse the authorization page but that
would be a lot of work and error prone.
Abraham

-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Nalin Savara

Nice logic Chad... Especially the way you parsed that expression into
all permutations.

Regards,
N S

On 9/29/09, Chad Etzel  wrote:
>
> Uh, I guess it was unclear from the subject/body split of the question
> what exactly was meant...
>
> "How do I get the user_id for a screen_name WITHOUT using a
> rate-limited call or one with authentication."
>
> ...can be read:
>
> How do I get the user_id for a screen_name without using a rate-limited
> call?
> And, how do I get the user_id for a screen_name without using one with
> authentication.
>
> ...or, it could be read:
>
> How do I get the user_id for a screen_name without using a rate-limited
> call?
> Or, how do I get the user_id for a screen_name using one with
> authentication.
>
> I read it the first way, due to the subject/body split...
>
> Boolean algebra, ftw?
>
> -Chad
>
>
> On Tue, Sep 29, 2009 at 1:17 AM, Abraham Williams <4bra...@gmail.com> wrote:
>> You can make any of the REST API calls with authentication.
>> Abraham
>>
>> On Mon, Sep 28, 2009 at 22:10, Andy Freeman  wrote:
>>>
>>> using a rate-limited call or one with authentication.
>>>
>>> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
>>> terms of user-id.
>>
>>
>>
>> --
>> 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.
>> Sent from Madison, WI, United States
>

-- 
Sent from Gmail for mobile | mobile.google.com


[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Chad Etzel

Uh, I guess it was unclear from the subject/body split of the question
what exactly was meant...

"How do I get the user_id for a screen_name WITHOUT using a
rate-limited call or one with authentication."

...can be read:

How do I get the user_id for a screen_name without using a rate-limited call?
And, how do I get the user_id for a screen_name without using one with
authentication.

...or, it could be read:

How do I get the user_id for a screen_name without using a rate-limited call?
Or, how do I get the user_id for a screen_name using one with authentication.

I read it the first way, due to the subject/body split...

Boolean algebra, ftw?

-Chad


On Tue, Sep 29, 2009 at 1:17 AM, Abraham Williams <4bra...@gmail.com> wrote:
> You can make any of the REST API calls with authentication.
> Abraham
>
> On Mon, Sep 28, 2009 at 22:10, Andy Freeman  wrote:
>>
>> using a rate-limited call or one with authentication.
>>
>> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
>> terms of user-id.
>
>
>
> --
> 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.
> Sent from Madison, WI, United States


[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Abraham Williams
You can make any of the REST API calls with authentication.
Abraham

On Mon, Sep 28, 2009 at 22:10, Andy Freeman  wrote:

>
> using a rate-limited call or one with authentication.
>
> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
> terms of user-id.
>



-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: How many Apps can we register under one account?

2009-09-28 Thread Chad Etzel

Hi Kalpesh,

While creative, the app link was not meant to be used in that manner.
We are discussing internally that OAuth app registration will
eventually have to be screened to prevent squatting and/or abuse. I'm
not sure that apps named "home" or "work" would pass that screen :)

-Chad

On Tue, Sep 29, 2009 at 1:09 AM, Kalpesh  wrote:
>
> Hi Chad,
>
> I would not register hundred apps but dozen is common i think..
> Can my account get suspended for having many applications (may be for
> 25)??
> i am not into name-squattering or so, but i am definitely interested
> in having more apps and using different apps related to my status.
> e.g. i may post a status like "tweeting from my home" and having
> "home" app linked to it in the from field of status. I don't see any
> kind of issue in that, what do you think?
>
> Thanks.
>


[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Chad Etzel

On Mon, Sep 28, 2009 at 11:45 PM, JDG  wrote:
> http://twitter.com/users/show.json?screen_name=al3x

That is a rate-limited call.

I'm afraid the answer is, "you can't."  All unauthenticated API calls
count against the IP rate-limit.

-Chad

>
> On Mon, Sep 28, 2009 at 21:10, Andy Freeman  wrote:
>>
>> using a rate-limited call or one with authentication.
>>
>> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
>> terms of user-id.
>
>
>
> --
> Internets. Serious business.
>


[twitter-dev] Re: How many Apps can we register under one account?

2009-09-28 Thread Kalpesh

Hi Chad,

I would not register hundred apps but dozen is common i think..
Can my account get suspended for having many applications (may be for
25)??
i am not into name-squattering or so, but i am definitely interested
in having more apps and using different apps related to my status.
e.g. i may post a status like "tweeting from my home" and having
"home" app linked to it in the from field of status. I don't see any
kind of issue in that, what do you think?

Thanks.


[twitter-dev] Re: How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread JDG
http://twitter.com/users/show.json?screen_name=al3x

On Mon, Sep 28, 2009 at 21:10, Andy Freeman  wrote:

>
> using a rate-limited call or one with authentication.
>
> I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
> terms of user-id.
>



-- 
Internets. Serious business.


[twitter-dev] How do I get the user_id for a screen_name WITHOUT

2009-09-28 Thread Andy Freeman

using a rate-limited call or one with authentication.

I'd be (mostly) satisfied with an analog to http://twitter.com/al3x in
terms of user-id.


[twitter-dev] First time working with OAuth want to do some automated stuff

2009-09-28 Thread Hintswen

I currently have a script running on my server using basic
authentication and tweeting rss feeds to a number of different
accounts.

I want to do something similar to that but using OAuth (seeing as I
cant register an application for basic auth anymore). But I'm lost,
OAuth requires a browser to work doesn't it? but my script wont be run
from a browser.

Do I have to make an authorize page and load that in a web browser to
get the access tokens and then put them into my script? Will they ever
expire? Is there a way to automatically get the access tokens without
me making a web page that will ask me to login to twitter and
authenticate?


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Dewald Pretorius

Nick,

Then I don't understand. Why would OneForty elect to pay the
developer's 70% in the form of a gift or donation to the developer?

Dewald

On Sep 28, 8:34 pm, Nick Arnett  wrote:
> Not sure how it works in other countries, but in the U.S. revenue is revenue
> is revenue; most gifts are income to the person who receives them.  Even if
> you are a non-profit, if you're making a profit from a substantial part of
> your operations, you can end up owing taxes on it, even if you call the
> income a gift.  Otherwise, everybody would call everything a gift and nobody
> would pay taxes!
>
> The fundamental rule is that when the "gift" is actually in exchange for
> something of value, it is income to the receiver and not deductible as a
> donation to the giver.
>
> Nick


[twitter-dev] Re: OAuth client set to Read & Write, but write access is denied

2009-09-28 Thread Abraham Williams
Did you originally acquired an access token when the app settings was read
only and then switched it to read/write later? This is a common cause. Try
logging into twitter.com and revoking access to the application. Then when
you get new access tokens it should work.
Abraham

On Mon, Sep 28, 2009 at 17:40, Jeremy Glazman  wrote:

>
> Has anyone encountered this problem?
>
> The "Default Access type" of my app is set to "Read & Write", and my
> app can authenticate with OAuth and perform all sorts of reads with no
> problem, but whenever I try to write (specifically when I try to tweet
> from my app) I get a 401 "Operation could not be completed" error.
>
> I'm developing on an iPhone using the MGTwitterEngine 1.0.8 with OAuth
> support, and using a secure (https) connection.
>



-- 
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.
Sent from Madison, WI, United States


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Nick Arnett
On Mon, Sep 28, 2009 at 3:05 PM, Dewald Pretorius  wrote:

>
> The other thing that really bugs is me the payment of the 70% in the
> form of a gift or donation. I cannot show that in the Sales Revenue of
> my business. If the amount becomes substantial, how do I explain to
> the tax man why my for-profit incorporated company is getting all
> these gifts and donations? And how do I do the accounting for my
> product units that were sold, but did not generate any top-line
> revenue?


Not sure how it works in other countries, but in the U.S. revenue is revenue
is revenue; most gifts are income to the person who receives them.  Even if
you are a non-profit, if you're making a profit from a substantial part of
your operations, you can end up owing taxes on it, even if you call the
income a gift.  Otherwise, everybody would call everything a gift and nobody
would pay taxes!

The fundamental rule is that when the "gift" is actually in exchange for
something of value, it is income to the receiver and not deductible as a
donation to the giver.

Nick


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Jim Renkel
I too could be wrong, and often am, but I don't see anything in the
OAuth specification (http://oauth.net/core/1.0a) about what an access
token could or does allow access to, i.e., reading resources as opposed
to reading and writing resources. The spec seems to be completely silent
on the "granularity" of access that is granted to resources via its
mechanisms.
 
So I think twitter would be perfectly legitimate in granting
authentication only, authentication and read access, and authentication
and read and write access "levels" of authorization.
 
I have previously proposed that the ability to geocode tweets be an
additional level of authorization, and I could also see additional
levels, or orthogonal capabilities, for, e.g., enabling geo-coding,
access to e-mail addresses and device phone numbers, etc.
 
Comments expected and welcome.
 
Jim Renkel
 
-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of JDG
Sent: Monday, September 28, 2009 17:20
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Re: About the oneforty application directory
 
Unfortunately, best as I can ascertain, that would violate the OAuth
spec (I may, of course, be wrong -- I often am :-) ). There are RW
tokens and RO tokens, but no Auth-only tokens. The best you could hope
for, given the current state of the spec, would be for an app to simply
get, then discard, the Access token. 

This is a good use case for OAuth, and perhaps should be brought up with
them as a scenario for future versions of the spec.
On Mon, Sep 28, 2009 at 14:47, Jim Renkel 
wrote:

Yes, you can check the "Yes, use Twitter for login", or not. I'm not
sure what this does, either way.

But you have to select one of the "Read & Write" or "Read-only" radio
buttons under the "Default Access type:" heading. There doesn't appear
to be any way to turn them both off.

So it seems you have always request (and receive) at least read access
to the data of user's that authorize your application to act for them on
twitter.

This is what I and others were trying to point out, and object to: you
can't authorize without granting read access.

Why authorize without granting read access? Just to verify that they are
the twitter user they claim to be, without reading, or writing, any of
their data.

Jim Renkel

-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of Brian
Smith
Sent: Monday, September 28, 2009 09:32
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Re: About the oneforty application directory


Dossy Shiobara wrote:
> It would be nice if Twitter made "authentication only" as an option
for
> OAuth.

Twitter already has this. It is called "Sign in with Twitter."

- Brian





-- 
Internets. Serious business.


[twitter-dev] OAuth client set to Read & Write, but write access is denied

2009-09-28 Thread Jeremy Glazman

Has anyone encountered this problem?

The "Default Access type" of my app is set to "Read & Write", and my
app can authenticate with OAuth and perform all sorts of reads with no
problem, but whenever I try to write (specifically when I try to tweet
from my app) I get a 401 "Operation could not be completed" error.

I'm developing on an iPhone using the MGTwitterEngine 1.0.8 with OAuth
support, and using a secure (https) connection.


[twitter-dev] Re: Search API Query Limitation (140 characters?)

2009-09-28 Thread David Fisher

If you need to search specific users why don't you use the Shadow API
and grab all of their tweets and then search them locally?

On Sep 28, 3:14 pm, Chad Etzel  wrote:
> Hello,
>
> The limit is indeed 140 and most likely won't be going up any time
> soon. The reason for the limit is for performance reasons. In order to
> do timely queries we don't allow for longer/arbitrary queries which
> could be very complex.
>
> -Chad
>
>
>
> On Mon, Sep 28, 2009 at 3:08 PM, zapnap  wrote:
>
> > (this could be overcome, I suppose, by performing multiple queries,
> > but that isn't much of a solution if you want to use the stock twitter
> > js search widget, etc)
>
> > On Sep 27, 11:37 am, zapnap  wrote:
> >> Search API queries appear to be limited to 140 characters. I mean,
> >> that's cute and all, but it's also rather limiting. In my particular
> >> case I was hoping to construct a search for a particular term from a
> >> group of N Twitter users only (instead of searching everyone).
>
> >> Is there another way to achieve this? Are there any plans to allow
> >> longer / more complex search queries?
>
> >> Thanks!
>
> >> ..nap


[twitter-dev] How does search get affected by Retweet APIs

2009-09-28 Thread Amitab

Hi,

How do search results get affected when the ReTweet APIs become
public. Do the search results consider Retweets as separate tweets and
show them multiple times. Or do they ignore RTs since they dont
contain any new content.

As a developer at Twaller.com, I get frustrated when multiple Retweets
get returned by search. Since there is sometimes no pattern to
identifying Retweets (Repople use RT in many ways), a text matching
algorithm frequently does not identify the retweets. I wonder if the
Retweet functionality will solve my problem.

Thanks,
Amitab

Follow Twaller @mytwaller

PS: Apologize if this has lalready been answered, but I couldn't find
it in previous posts


[twitter-dev] Re: search results using rpp and page parmeter stay the same

2009-09-28 Thread Yaniv Golan

Thanks for that Chad


On Sep 28, 6:03 pm, Chad Etzel  wrote:
> Hello,
>
> The 1500 result limit _is_ for the Search API. The results are limited
> to 1500 or the last 7ish days, whichever occurs first.
>
> Yaniv, the rpp ("results per page") parameter is how many results will
> be returned with each request. The page parameter is basically an
> offset indicator.
>
> To get all 15 pages (1500 results), you would need to make 15 calls to
> get results:
>
> http://search.twitter.com/search.atom?q=foo&rpp=100&page=1http://search.twitter.com/search.atom?q=foo&rpp=100&page=2http://search.twitter.com/search.atom?q=foo&rpp=100&page=3
> ...http://search.twitter.com/search.atom?q=foo&rpp=100&page=15
>
> There is not a way to get more than 100 results per request from the Search 
> API.
>
> -Chad
>
> On Mon, Sep 28, 2009 at 3:36 AM, Yaniv Golan  wrote:
>
> > Abraham, thanks for replying.
> > something still doesn't make sense...
> > how come i always get 100 results? I'm sure there are more tweets that
> > match this search criteria
> > how can i get the max result per call?
>
> > On Sep 28, 7:25 am, Abraham Williams <4bra...@gmail.com> wrote:
> >> The 1500 result limit is for the REST API. The Search API is limited based
> >> on time which last I heard was around 7 days.
> >> Abraham
>
> >> On Sun, Sep 27, 2009 at 18:33, Yaniv Golan  wrote:
>
> >> > Hi all
> >> > I'm submitting this query to twitter search
> >> > 'http://search.twitter.com/search.atom?ors=via
> >> > +RT&rpp=100&page=15&filter=links'
> >> > and gets only 100 results,
> >> > according to the api docs i can get up to 1500 results
> >> > i also get this warning
> >> > "adjusted since_id to 4133426182 (2009-09-20 23:00:00 UTC), requested
> >> > since_id was older than allowedsince_id removed for pagination"
> >> > can anyone please explain what i'm doing wrong here?
>
> >> --
> >> 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: About the oneforty application directory

2009-09-28 Thread JDG
Unfortunately, best as I can ascertain, that would violate the OAuth spec (I
may, of course, be wrong -- I often am :-) ). There are RW tokens and RO
tokens, but no Auth-only tokens. The best you could hope for, given the
current state of the spec, would be for an app to simply get, then discard,
the Access token.

This is a good use case for OAuth, and perhaps should be brought up with
them as a scenario for future versions of the spec.

On Mon, Sep 28, 2009 at 14:47, Jim Renkel  wrote:

>
> Yes, you can check the "Yes, use Twitter for login", or not. I'm not
> sure what this does, either way.
>
> But you have to select one of the "Read & Write" or "Read-only" radio
> buttons under the "Default Access type:" heading. There doesn't appear
> to be any way to turn them both off.
>
> So it seems you have always request (and receive) at least read access
> to the data of user's that authorize your application to act for them on
> twitter.
>
> This is what I and others were trying to point out, and object to: you
> can't authorize without granting read access.
>
> Why authorize without granting read access? Just to verify that they are
> the twitter user they claim to be, without reading, or writing, any of
> their data.
>
> Jim Renkel
>
> -Original Message-
> From: twitter-development-talk@googlegroups.com
> [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Brian
> Smith
> Sent: Monday, September 28, 2009 09:32
> To: twitter-development-talk@googlegroups.com
> Subject: [twitter-dev] Re: About the oneforty application directory
>
>
> Dossy Shiobara wrote:
> > It would be nice if Twitter made "authentication only" as an option
> for
> > OAuth.
>
> Twitter already has this. It is called "Sign in with Twitter."
>
> - Brian
>
>
>


-- 
Internets. Serious business.


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Dewald Pretorius

+1. Agree.

It is my product that is purchased. No more should OneForty own the
customer relationship than an affiliate of mine should own the
relationship for having referred a sale to me.

The other thing that really bugs is me the payment of the 70% in the
form of a gift or donation. I cannot show that in the Sales Revenue of
my business. If the amount becomes substantial, how do I explain to
the tax man why my for-profit incorporated company is getting all
these gifts and donations? And how do I do the accounting for my
product units that were sold, but did not generate any top-line
revenue?

The idea behind OneForty is novel, but I think they face an uphill
battle, because they do not have the monopoly on app distribution that
the Apple App Store has. Hence, it will not work to try and apply the
same business rules as the Apple App Store.

Dewald

On Sep 28, 11:10 am, Waldron Faulkner 
wrote:
> But the killer for me is the support-only clause. If I can't own the
> relationship, that makes it a total no-go.


[twitter-dev] Re: Whitelist req rejected with no reasons

2009-09-28 Thread Chad Etzel

Sorry about that. Sometimes the mailer seems to leave out the
rejection reason. Looking into it.

If this happens to you, please email a...@twitter.com with the username
you used to apply and we can lookup the reason.

Thanks,
-Chad

On Mon, Sep 28, 2009 at 4:09 PM, Gnagnu  wrote:
> Hi there !
> I am a developer and requested to be on the API whitelist. My request
> got rejected and there was no reasons explaining why. It makes it hard
> to understand...
> Thanks for any clarification.
> Hang
>


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Jim Renkel

Yes, you can check the "Yes, use Twitter for login", or not. I'm not
sure what this does, either way.

But you have to select one of the "Read & Write" or "Read-only" radio
buttons under the "Default Access type:" heading. There doesn't appear
to be any way to turn them both off.

So it seems you have always request (and receive) at least read access
to the data of user's that authorize your application to act for them on
twitter.

This is what I and others were trying to point out, and object to: you
can't authorize without granting read access.

Why authorize without granting read access? Just to verify that they are
the twitter user they claim to be, without reading, or writing, any of
their data.

Jim Renkel

-Original Message-
From: twitter-development-talk@googlegroups.com
[mailto:twitter-development-t...@googlegroups.com] On Behalf Of Brian
Smith
Sent: Monday, September 28, 2009 09:32
To: twitter-development-talk@googlegroups.com
Subject: [twitter-dev] Re: About the oneforty application directory


Dossy Shiobara wrote:
> It would be nice if Twitter made "authentication only" as an option
for
> OAuth.

Twitter already has this. It is called "Sign in with Twitter."

- Brian




[twitter-dev] Whitelist req rejected with no reasons

2009-09-28 Thread Gnagnu

Hi there !
I am a developer and requested to be on the API whitelist. My request
got rejected and there was no reasons explaining why. It makes it hard
to understand...
Thanks for any clarification.
Hang


[twitter-dev] Re: How many Apps can we register under one account?

2009-09-28 Thread Chad Etzel

Hi Kalpesh,

You can register multiple applications under one account, but someone
will probably take notice if several dozen/hundred apps start
appearing under an account.

-Chad

On Mon, Sep 28, 2009 at 3:02 PM, Kalpesh  wrote:
>
> Hi.
> I am a developer and want to know is there any limit for registering
> an app per single account? I am developing apps and I want one app
> that can only be used by me and my friends, while others have another
> app for updating status, etc..
>
> Thanks!
>


[twitter-dev] Re: Search API Query Limitation (140 characters?)

2009-09-28 Thread Chad Etzel

Hello,

The limit is indeed 140 and most likely won't be going up any time
soon. The reason for the limit is for performance reasons. In order to
do timely queries we don't allow for longer/arbitrary queries which
could be very complex.

-Chad

On Mon, Sep 28, 2009 at 3:08 PM, zapnap  wrote:
>
> (this could be overcome, I suppose, by performing multiple queries,
> but that isn't much of a solution if you want to use the stock twitter
> js search widget, etc)
>
> On Sep 27, 11:37 am, zapnap  wrote:
>> Search API queries appear to be limited to 140 characters. I mean,
>> that's cute and all, but it's also rather limiting. In my particular
>> case I was hoping to construct a search for a particular term from a
>> group of N Twitter users only (instead of searching everyone).
>>
>> Is there another way to achieve this? Are there any plans to allow
>> longer / more complex search queries?
>>
>> Thanks!
>>
>> ..nap
>


[twitter-dev] Re: Search API Query Limitation (140 characters?)

2009-09-28 Thread zapnap

(this could be overcome, I suppose, by performing multiple queries,
but that isn't much of a solution if you want to use the stock twitter
js search widget, etc)

On Sep 27, 11:37 am, zapnap  wrote:
> Search API queries appear to be limited to 140 characters. I mean,
> that's cute and all, but it's also rather limiting. In my particular
> case I was hoping to construct a search for a particular term from a
> group of N Twitter users only (instead of searching everyone).
>
> Is there another way to achieve this? Are there any plans to allow
> longer / more complex search queries?
>
> Thanks!
>
> ..nap


[twitter-dev] How many Apps can we register under one account?

2009-09-28 Thread Kalpesh

Hi.
I am a developer and want to know is there any limit for registering
an app per single account? I am developing apps and I want one app
that can only be used by me and my friends, while others have another
app for updating status, etc..

Thanks!


[twitter-dev] Re: is there a search operator to exclude a specific username from search results?

2009-09-28 Thread Rodney

Chad,

Thank you for rocking, sir!  Not sure why -from:username wasn't
working in my initial tests, but it's working perfectly now.

--Rodney

On Sep 28, 10:00 am, Chad Etzel  wrote:
> Hi there,
>
> -from:username should work. If it doesn't, please send the query (or
> unicast me if you want to keep it private) and we can take a look.
> example:http://search.twitter.com/search?q=jazzychad+-from:jazzychad
>
> If all else fails, you can filter the results on your end before
> displaying them to remove the unwanted user's tweets.
>
> -Chad
>
>
>
> On Mon, Sep 28, 2009 at 11:46 AM, Rodney  wrote:
>
> > I'm going to be streaming tweets from an upcoming tradeshow and
> > unfortunately, the organization that is running the tradeshow doesn't
> > own the @username that matches their organization name.  They had it,
> > but then changed it to some obscure thing with underscores.
>
> > Anyway, someone else now has the 4 character username that is also the
> > main keyword for this upcoming tradeshow, but they aren't affiliated
> > with the tradeshow and their tweets won't be about the show.
>
> > So as I'm pulling in results for this unique 4 letter abbreviation,
> > this users non-relevant tweets are showing up because their username
> > matches.
>
> > So my question is, is there a negative search operator that I can add
> > that will exclude one specific username from the search results that
> > are returned?
>
> > I tried the formats -from:alexiskold and from:-alexiskold, but those
> > didn't seem to work.


[twitter-dev] Can we update geo_enabled field in account profile via API ?

2009-09-28 Thread CodeWarden

Hello,

Really looking forward to the ability to include lat/long with
tweets.  However, since all of my users are on mobile devices, it
would be most useful if they could change the geo_enabled flag via the
API.   Before you enable this capability could you allow the update
profile method to also update the geo_enabled flag?

-Paul


[twitter-dev] Re: 401 Unauthorized error while posting status with Unicode characters (non english characters)

2009-09-28 Thread Satheesh Natesan
Thanks, I will try that!

On Sat, Sep 26, 2009 at 8:11 AM, JDG  wrote:

> That's true -- %5BB6, for example, is NOT a UTF-8 encoded codepoint for a
> character. It's Unicode (or UTF-16).
>
> On Fri, Sep 25, 2009 at 20:54, Mageuzi  wrote:
>
>>
>> Hello,
>> I had this same problem.  I had to convert all multi-byte characters
>> into their individual bytes.
>> So, for example, for the character "の":
>> Your example has %306E, but the encoding that works for me is
>> %E3%81%AE (three bytes for the three-byte character).
>>
>>
>> On Sep 25, 5:00 pm, Satheesh Natesan 
>> wrote:
>> > Yes, it is UTF-8 encoded.
>> >
>> > The request body for "の脚本家が贈る" is
>> >
>> oauth_consumer_key=wmeO7Y20oMFa1ptKVY4WA&oauth_nonce=3231757&oauth_signatur­e_method=HMAC-SHA1&oauth_timestamp=1253903495&oauth_token=76084396-0M9ll2ng­hrjWhjALbH7YEHXizcLDNvoLfgXKfHQZQ&oauth_version=1.0&status=%306E%811A%672C%­5BB6%304C%8D08%308B&oauth_signature=AMcLsF43vPP6Hmn8fv%2bZCMdqEnU%3d
>> >
>> > and the base signature is
>> >
>> POST&http%3A%2F%2Ftwitter.com%2Fstatuses%2Fupdate.json&oauth_consumer_key%3­DwmeO7Y20oMFa1ptKVY4WA%26oauth_nonce%3D3231757%26oauth_signature_method%3DH­MAC-SHA1%26oauth_timestamp%3D1253903495%26oauth_token%3D76084396-0M9ll2nghr­jWhjALbH7YEHXizcLDNvoLfgXKfHQZQ%26oauth_version%3D1.0%26status%3D%25306E%25­811A%25672C%255BB6%25304C%258D08%25308B
>> >
>> > Do you see anything wrong here?
>> >
>> > Thanks!
>> > Satheesh Natesan
>> >
>> >
>> >
>>  > On Thu, Sep 24, 2009 at 6:49 PM, Carlos  wrote:
>> >
>> > > Are you sure you are encoding your posts as UTF-8?
>> >
>> > > On Sep 24, 5:16 pm, Satheesh Natesan 
>> > > wrote:
>> > >  > I am getting "401 Unauthorized" exception when updating status with
>> > > > non english characters using my app.
>> >
>> > > > This exception is happening for any Japanese or Korean characters.
>> >
>> > > > Another interesting thing is that it is possible to post some other
>> > > > non english characters like Malayalam. The exception will not happen
>> > > > for single word in these cases, but occurs for multiple words.
>> > > > For example consider the following example
>> >
>> > > > ØáÇÞµæù çµdw - does not work
>> >
>> > > > ØáÇÞµæùçµdw - with space removed works.
>> >
>> > > > Base signature for "ØáÇÞµæù çµdw" which throws exception is
>> >
>> > > > POST&http%3A%2F%2Ftwitter.com%2Fstatuses
>> > > > %2Fupdate.json&oauth_consumer_key%
>> > > > 3DwmeO7Y20oMFa1ptKVY4WA%26oauth_nonce
>> > > > %3D4504682%26oauth_signature_method%
>> > > > 3DHMAC-SHA1%26oauth_timestamp%3D1253727596%26oauth_token%3D76084396-
>> > > > 0M9ll2nghrjWhjALbH7YEHXizcLDNvoLfgXKfHQZQ%26oauth_version
>> > > > %3D1.0%26status%
>> > > > 3D%25D8%25E1%25C7%25DE%25B5%25E6%25F9%2520%25E7%25B5dw
>> >
>> > > > and for "ØáÇÞµæùçµdw" which works is
>> >
>> > > > POST&http%3A%2F%2Ftwitter.com%2Fstatuses
>> > > > %2Fupdate.json&oauth_consumer_key%
>> > > > 3DwmeO7Y20oMFa1ptKVY4WA%26oauth_nonce
>> > > > %3D9388868%26oauth_signature_method%
>> > > > 3DHMAC-SHA1%26oauth_timestamp%3D1253727793%26oauth_token%3D76084396-
>> > > > 0M9ll2nghrjWhjALbH7YEHXizcLDNvoLfgXKfHQZQ%26oauth_version
>> > > > %3D1.0%26status%
>> > > > 3D%25D8%25E1%25C7%25DE%25B5%25E6%25F9%25E7%25B5dw
>> >
>> > > > OAuth client library I am using is in .Net
>> >
>> > > > Could you please help to solve this issue? Also I would like to know
>> > > > you support all unicode characters.
>> > > > Your help is greatly appreciated.
>> >
>> > > > Thanks,
>> > > > Satheesh Natesan- Hide quoted text -
>> >
>> > - Show quoted text -
>
>
>
>
> --
> Internets. Serious business.
>


[twitter-dev] Re: is there a search operator to exclude a specific username from search results?

2009-09-28 Thread Chad Etzel

Hi there,

-from:username should work. If it doesn't, please send the query (or
unicast me if you want to keep it private) and we can take a look.
example:
http://search.twitter.com/search?q=jazzychad+-from:jazzychad

If all else fails, you can filter the results on your end before
displaying them to remove the unwanted user's tweets.

-Chad

On Mon, Sep 28, 2009 at 11:46 AM, Rodney  wrote:
>
> I'm going to be streaming tweets from an upcoming tradeshow and
> unfortunately, the organization that is running the tradeshow doesn't
> own the @username that matches their organization name.  They had it,
> but then changed it to some obscure thing with underscores.
>
> Anyway, someone else now has the 4 character username that is also the
> main keyword for this upcoming tradeshow, but they aren't affiliated
> with the tradeshow and their tweets won't be about the show.
>
> So as I'm pulling in results for this unique 4 letter abbreviation,
> this users non-relevant tweets are showing up because their username
> matches.
>
> So my question is, is there a negative search operator that I can add
> that will exclude one specific username from the search results that
> are returned?
>
> I tried the formats -from:alexiskold and from:-alexiskold, but those
> didn't seem to work.
>


[twitter-dev] Re: Twitter help for Agencies

2009-09-28 Thread Chad Etzel

Hi Tucker,

Please see the "Contact Us" section of the About page:
http://twitter.com/about#contact

Thanks,
-Chad

On Mon, Sep 28, 2009 at 10:46 AM, Tucker  wrote:
>
> I work for a leading new media marketing agency and am wondering if it
> will be possible to have a direct contact within the Twitter team to
> come to with issues. We have many big clients as well as celebrities
> already tweeting/are going to tweet, who will also certainly be
> interested in investing money in advertising when that comes along.
> I'm looking to have a direct contact who can assist me in managing
> these accounts as we do within other major social networks.
>
> Help me, Twitter!
>
> Thanks
> Tucker
>


[twitter-dev] is there a search operator to exclude a specific username from search results?

2009-09-28 Thread Rodney

I'm going to be streaming tweets from an upcoming tradeshow and
unfortunately, the organization that is running the tradeshow doesn't
own the @username that matches their organization name.  They had it,
but then changed it to some obscure thing with underscores.

Anyway, someone else now has the 4 character username that is also the
main keyword for this upcoming tradeshow, but they aren't affiliated
with the tradeshow and their tweets won't be about the show.

So as I'm pulling in results for this unique 4 letter abbreviation,
this users non-relevant tweets are showing up because their username
matches.

So my question is, is there a negative search operator that I can add
that will exclude one specific username from the search results that
are returned?

I tried the formats -from:alexiskold and from:-alexiskold, but those
didn't seem to work.


[twitter-dev] Twitter help for Agencies

2009-09-28 Thread Tucker

I work for a leading new media marketing agency and am wondering if it
will be possible to have a direct contact within the Twitter team to
come to with issues. We have many big clients as well as celebrities
already tweeting/are going to tweet, who will also certainly be
interested in investing money in advertising when that comes along.
I'm looking to have a direct contact who can assist me in managing
these accounts as we do within other major social networks.

Help me, Twitter!

Thanks
Tucker


[twitter-dev] Re: search results using rpp and page parmeter stay the same

2009-09-28 Thread Chad Etzel

Hello,

The 1500 result limit _is_ for the Search API. The results are limited
to 1500 or the last 7ish days, whichever occurs first.

Yaniv, the rpp ("results per page") parameter is how many results will
be returned with each request. The page parameter is basically an
offset indicator.

To get all 15 pages (1500 results), you would need to make 15 calls to
get results:

http://search.twitter.com/search.atom?q=foo&rpp=100&page=1
http://search.twitter.com/search.atom?q=foo&rpp=100&page=2
http://search.twitter.com/search.atom?q=foo&rpp=100&page=3
...
http://search.twitter.com/search.atom?q=foo&rpp=100&page=15

There is not a way to get more than 100 results per request from the Search API.

-Chad


On Mon, Sep 28, 2009 at 3:36 AM, Yaniv Golan  wrote:
>
> Abraham, thanks for replying.
> something still doesn't make sense...
> how come i always get 100 results? I'm sure there are more tweets that
> match this search criteria
> how can i get the max result per call?
>
>
>
> On Sep 28, 7:25 am, Abraham Williams <4bra...@gmail.com> wrote:
>> The 1500 result limit is for the REST API. The Search API is limited based
>> on time which last I heard was around 7 days.
>> Abraham
>>
>> On Sun, Sep 27, 2009 at 18:33, Yaniv Golan  wrote:
>>
>> > Hi all
>> > I'm submitting this query to twitter search
>> > 'http://search.twitter.com/search.atom?ors=via
>> > +RT&rpp=100&page=15&filter=links'
>> > and gets only 100 results,
>> > according to the api docs i can get up to 1500 results
>> > i also get this warning
>> > "adjusted since_id to 4133426182 (2009-09-20 23:00:00 UTC), requested
>> > since_id was older than allowedsince_id removed for pagination"
>> > can anyone please explain what i'm doing wrong here?
>>
>> --
>> 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: Search calls ever moving into REST API?

2009-09-28 Thread Aaron Rankin

John,

My key issue is that my application is hosted on shared
infrastructure. In addition to mine, other applications are hitting
the Search API from a common IP address. If there is a way to identify
my traffic from others', and only rate limit it if it's responsible,
that would solve it.

I am using a (hopefully) unique and meaningful user-agent.

Thanks,
Aaron

On Sep 23, 11:20 am, John Kalucki  wrote:
> TheSearchAPIis served from a totally different infrastructure 
> thanapi.twitter.com. As such, it has limits that are tuned to protecting a
> very different back-end. Even ifSearchwas served through theapi.twitter.com 
> stack, the policies would still be driven by the back-
> end.
>
> If you are hittingsearchAPIlimits, there's a good chance there is a
> better way to service your application. If you share your use case,
> perhaps we can point out a better way to get the same results?
>
> -John Kaluckihttp://twitter.com/jkalucki
> Services, Twitter Inc.
>
> On Sep 23, 8:41 am, Aaron Rankin  wrote:
>
> > I've seen talk of movingSearchAPIcalls into theRESTAPIfor a
> > while now. Twitter, are there any plans or dates that you can discuss
> > yet? Is this still planned at all?
>
> > This will be very useful to my application because ofREST'saccount-
> > based rate limiting. I'm constantly beingSearchrate limited because
> > I'm on Rackspace Cloud, sharing the same IP as other Twitter apps.


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Brian Smith

Dossy Shiobara wrote:
> It would be nice if Twitter made "authentication only" as an option for
> OAuth.

Twitter already has this. It is called "Sign in with Twitter."

- Brian



[twitter-dev] Re: master thesis related to Twitter

2009-09-28 Thread David Fisher

A small group of us (mainly Harvard students, but others as well) had
similar questions a few months back and we've started digging into the
research pretty heavily (also doing contracting/consulting). Our group
is called the Web Ecology Project and we've released a handful of
academic (but accessible and market relevant) papers about events and
influence on Twitter. We also released some source code for
identifying the language of Tweets using the Google API and python.

We have a research relations arm and I've forwarded your contact
information to our research coordinator Dharmishta who will probably
be in touch soon.

It might be worth looking over our papers. When you do, feel free to
email me (or any of us) and ask questions. We've done some semantic
analysis of tweets for our paper on the death of michael jackson and
the response on Twitter using the ANEW method/dataset and NLTK.

Our work can be found at http://webecologyproject.org and all of our
stuff is released under a Creative Commons license so feel free to
quote us and use bits where you need to.

One of the hardest initial things that we encountered with Twitter was
gathering and storing of useful and meaningful data but now we've
gotten mostly past those issues and we are now starting to mine and
analyze other social networks as well.

Thanks,

David Fisher
Web Ecology Project

On Sep 27, 8:11 pm, Stefna  wrote:
> Thank you all for the feedback.
>
> My main motivation for posting this thread was to gather some loose
> ideas. One man’s trash is another man’s treasure, posting a link costs
> nothing but saved a lot of mine time.
>
> "strict formed data" - 140 chars, #tag, @username, RT etc. - that's
> why there are so many sites presenting graphs, charts, trends,
> tendencies etc.
>
> "first pick was vaguely to analyse the semantic meaning of tweets" -
> like take a tag, take all the words with tweets with this tag and on
> that base find tweets that might me related to the topic. Or finding
> and measuring tags that are in tweets with aforementioned one.
>
> I should keep in mind that my task is to present a satisfactory
> dissertation, not cure for cancer. And probably by the time I finish
> my work someone else will ship similar software independently.
> Nevertheless by creating it I will learn a lot of stuff about Twitter
> itself not to mention improving programming skills.
>
> On 27 Wrz, 20:38, Mitchel Berberich  wrote:
>
> > Careful! Stefna was talking about semantic meaning. Not
> > "syntactic" ...
> > But I think you're right - Stefna, please us tell a bit more about the
> > context.
> > And - what do you think of when you say "strict formed data"?
> > What exactly do you want to achieve?
> > Maybe your promoter should tell you in more detail, what he expects
> > from you?
>
> > On Sep 27, 6:44 am, Nalin Savara  wrote:
>
> > > Good luck buddy.. Btw I'm curious, What exactly are you referring to
> > > or focussing on when you say 'syntactic meaning of tweets' ?
>
> > > I mean I'd appreciate a clarification on 'syntactic meaning to whom ?'
> > > and 'syntactic meaning of tweets in what context ?'
>
> > > Just wondering..
>
> > > Best Regards,
> > > Nalin
>
> > > On 9/25/09, Stefna  wrote:
>
> > > > I've submitted a ticket with following content:
> > > > *** *** ***
> > > > I am a 23 years old student of informatics at AGH Universtity of
> > > > Science and Technology in Cracow (Poland). Due to a rapid development,
> > > > strict formed data and accessible API I would like to designate my
> > > > master thesis to the Twitter related topic. My promoter is the PhD at
> > > > the Department of Computer Linguistics and our first pick was vaguely
> > > > to analyse the semantic meaning of tweets.
>
> > > > Do you have suggestions about the dissertation topic?
> > > > Do you have any pending requests or prospect features you want to
> > > > develop?
>
> > > > I will browse known issues, I will think thoroughly about the topic
> > > > but still - your suggestion might be very helpful. Even the shortest
> > > > one (like "good luck") will encourage me to more intensive research.
> > > > *** *** ***
> > > > Does anyone have any suggestions? My ticket has a six-digit number so
> > > > I'm afraid I won't get any answer :)
>
> > > > I'll probably ask for help during my work so I subscribe to this group
> > > > anyway.
>
> > > > Thanks in advance!
>
> > > --
> > > Sent from Gmail for mobile | mobile.google.com- Hide quoted text -
>
> > > - Show quoted text -


[twitter-dev] Re: About the oneforty application directory

2009-09-28 Thread Waldron Faulkner

The rev-share doesn't kill the deal for me, although it does feel
steep, and just because Apple gets 30% for the app store, not sure
that number works in all cases. Also 60 day terms are discouraging.
But the killer for me is the support-only clause. If I can't own the
relationship, that makes it a total no-go.

On Sep 27, 4:14 pm, "Jim Renkel"  wrote:
> I agree!
>
> Jim Renkel
>
> -Original Message-
> From: twitter-development-talk@googlegroups.com
>
> [mailto:twitter-development-t...@googlegroups.com] On Behalf Of Dossy
> Shiobara
> Sent: Sunday, September 27, 2009 14:08
> To: twitter-development-talk@googlegroups.com
> Subject: [twitter-dev] Re: About the oneforty application directory
>
> Frankly, I don't even like the idea of read-access for an application
> like this.
>
> It would be nice if Twitter made "authentication only" as an option for
> OAuth.  Better would be an option on the accept/deny OAuth page where
> users can select what access to grant to an application - defaulting to
> perhaps what access the application desires.
>
> On 9/25/09 8:04 PM, Jim Renkel wrote:
> > What will you be using my twitter account for, other than
> authorization?
> > If you reregister the site to only need read access to my twitter
> > account, I would be a lot less reluctant to use it.
>
> --
> Dossy Shiobara              | do...@panoptic.com |http://dossy.org/
> Panoptic Computer Network   |http://panoptic.com/
>   "He realized the fastest way to change is to laugh at your own
>     folly -- then you can let go and quickly move on." (p. 70)


[twitter-dev] Re: Throttling of filter stream

2009-09-28 Thread John Kalucki

You will receive limit messages when your stream is limited. They are
documented here:
http://apiwiki.twitter.com/Streaming-API-Documentation#ParsingResponses

You may need to query on a few stop words before you get the limit
messages to flow, as the proportion currently allowed is pretty large,
even at the default level.

-John Kalucki
http://twitter.com/jkalucki
Services, Twitter Inc.




On Sep 28, 3:10 am, Robert Chatley  wrote:
> Hi,
>
> I also have a question regarding throttling of the streaming API when
> tracking keywords.
>
> We are successfully tracking keywords and reading messages, but would
> like to know when our query is too broad, and we are not receiving all
> the messages, so that we can back off. We would prefer to be getting
> all the messages for a finer-grained query than most of the messages
> for a broader one.
>
> Is it possible for the client to tell whether its query is being
> throttled? I checked the rate-limit data on the returned statuses, but
> these didn't seem to give useful information for the streaming API - I
> guess they only give data about GET requests to other APIs.
>
> We are using the default access level.
>
> regards,
> Robert
>
> On Sep 4, 4:20 am, John Kalucki  wrote:
>
> > Zac,
>
> > It's possible that the trackfilteris missing something, but there's
> > probably other misunderstandings that are clouding things.
>
> > I don't know how Tweespeed comes up with their numbers, but theStreamingAPI 
> > only makes available a proportion of all public
> > statuses. Spam accounts, for example, are filtered out, as are
> > protected accounts, direct messages, etc. etc. My guess is that
> > Tweespeed is assuming that status_ids are assigned sequentially and
> > they are just reporting the velocity of that column.
>
> > Your estimate that 40% of tweets contain a link seems more than 2x too
> > high. You can come up with a very accurate number by collecting a
> > sampled feed for a few hours or days (there are diurnal and daily
> > patterns to everything on Twitter) and dividing out. Even 10 minutes
> > of the default sampled feed (the old "spritzer") will give you an
> > idea.
>
> > Without knowing your sample size, day of week, or time of day, I'd say
> > that your reported matches per minute and limited statuses per minute
> > are pretty good. I don't think you are missing much, if anything,
> > other than the statuses reported by the limit message.
>
> > As a double check, I just ran a quick test with the highest level of
> > track and compared the result against the firehose. In a one minute
> > sample, the track feed had matched the same tweets as the firehose
> > piped to 'grep -i http'.
>
> > -John Kaluckihttp://twitter.com/jkalucki
> > Services, Twitter Inc
>
> > On Sep 3, 7:23 pm, Zac Witte  wrote:
>
> > > I'm not sure thefilteris actually catching everything that I'm
> > > supposedly tracking. There are ~20,000 tweets per minute right now
> > > according to tweespeed. I'm getting about 1000 tweets/m and skipping
> > > on average 1500 tweets/m according to the limit notifications. That
> > > means myfilteris matching about 12.5% of all tweets, but I'm
> > > tracking "http" and supposedly 40% of all tweets contain a link so my
> > >filterwould seem to be missing the majority of all links. Is this
> > > making sense?


[twitter-dev] Re: Strange 401 errors when having dot in the status update

2009-09-28 Thread guytom

Thanks.


On Sep 27, 4:56 pm, JDG  wrote:
> From the OAuth spec:
>
> 5.1.  Parameter Encoding
>
> All parameter names and values are escaped using the [RFC3986] (Berners-Lee,
> T., “Uniform Resource Identifiers (URI): Generic Syntax,”
> .)percent-encoding (%xx)
> mechanism. Characters not in the unreserved character
> set ([RFC3986] (Berners-Lee, T., “Uniform Resource Identifiers (URI):
> Generic Syntax,” .)  section 2.3) MUST
> be encoded. Characters in the unreserved character set MUST NOT be encoded.
> Hexadecimal characters in encodings MUST be upper case. Text names and
> values MUST be encoded as UTF-8 octets before percent-encoding them per
> [RFC3629] (Yergeau, F., “UTF-8, a transformation format of Unicode and ISO
> 10646,” .) .
>
>             unreserved = ALPHA, DIGIT, '-', '.', '_', '~'
>
> You can't encode .
>
>
>
>
>
> On Sun, Sep 27, 2009 at 02:59, guytom  wrote:
>
> > Anyone has any idea about this?
>
> > I tracked the request it seems that the server doesn't like the fact
> > that the dot ('.') is also URL encoded. We're using flash AS3 and the
> > URLVariables class automatically encodes it this way, so for example
> > if we send "go to nba.com"
> > It comes out as "status=go%20to%20nba%20%2E%20com" in the POST data
>
> > The encoding of the . is the only one that fails, all other "special"
> > url characters work fine.
>
> > Thanks in advance.
>
> > GT
>
> > On Sep 24, 2:24 pm, guytom  wrote:
> > > That's weird I know...
>
> > > When our application has "." for example "nba.com" in the status
> > > message, the status update API call fails and we get401. other
> > > requests work fine.
>
> > > We use oAuth btw.
>
> > > Any ideas?
>
> > > GT
>
> --
> Internets. Serious business.


[twitter-dev] Re: Throttling of filter stream

2009-09-28 Thread Robert Chatley

Hi,

I also have a question regarding throttling of the streaming API when
tracking keywords.

We are successfully tracking keywords and reading messages, but would
like to know when our query is too broad, and we are not receiving all
the messages, so that we can back off. We would prefer to be getting
all the messages for a finer-grained query than most of the messages
for a broader one.

Is it possible for the client to tell whether its query is being
throttled? I checked the rate-limit data on the returned statuses, but
these didn't seem to give useful information for the streaming API - I
guess they only give data about GET requests to other APIs.

We are using the default access level.

regards,
Robert


On Sep 4, 4:20 am, John Kalucki  wrote:
> Zac,
>
> It's possible that the trackfilteris missing something, but there's
> probably other misunderstandings that are clouding things.
>
> I don't know how Tweespeed comes up with their numbers, but theStreamingAPI 
> only makes available a proportion of all public
> statuses. Spam accounts, for example, are filtered out, as are
> protected accounts, direct messages, etc. etc. My guess is that
> Tweespeed is assuming that status_ids are assigned sequentially and
> they are just reporting the velocity of that column.
>
> Your estimate that 40% of tweets contain a link seems more than 2x too
> high. You can come up with a very accurate number by collecting a
> sampled feed for a few hours or days (there are diurnal and daily
> patterns to everything on Twitter) and dividing out. Even 10 minutes
> of the default sampled feed (the old "spritzer") will give you an
> idea.
>
> Without knowing your sample size, day of week, or time of day, I'd say
> that your reported matches per minute and limited statuses per minute
> are pretty good. I don't think you are missing much, if anything,
> other than the statuses reported by the limit message.
>
> As a double check, I just ran a quick test with the highest level of
> track and compared the result against the firehose. In a one minute
> sample, the track feed had matched the same tweets as the firehose
> piped to 'grep -i http'.
>
> -John Kaluckihttp://twitter.com/jkalucki
> Services, Twitter Inc
>
> On Sep 3, 7:23 pm, Zac Witte  wrote:
>
> > I'm not sure thefilteris actually catching everything that I'm
> > supposedly tracking. There are ~20,000 tweets per minute right now
> > according to tweespeed. I'm getting about 1000 tweets/m and skipping
> > on average 1500 tweets/m according to the limit notifications. That
> > means myfilteris matching about 12.5% of all tweets, but I'm
> > tracking "http" and supposedly 40% of all tweets contain a link so my
> >filterwould seem to be missing the majority of all links. Is this
> > making sense?


[twitter-dev] Re: search results using rpp and page parmeter stay the same

2009-09-28 Thread Yaniv Golan

Abraham, thanks for replying.
something still doesn't make sense...
how come i always get 100 results? I'm sure there are more tweets that
match this search criteria
how can i get the max result per call?



On Sep 28, 7:25 am, Abraham Williams <4bra...@gmail.com> wrote:
> The 1500 result limit is for the REST API. The Search API is limited based
> on time which last I heard was around 7 days.
> Abraham
>
> On Sun, Sep 27, 2009 at 18:33, Yaniv Golan  wrote:
>
> > Hi all
> > I'm submitting this query to twitter search
> > 'http://search.twitter.com/search.atom?ors=via
> > +RT&rpp=100&page=15&filter=links'
> > and gets only 100 results,
> > according to the api docs i can get up to 1500 results
> > i also get this warning
> > "adjusted since_id to 4133426182 (2009-09-20 23:00:00 UTC), requested
> > since_id was older than allowedsince_id removed for pagination"
> > can anyone please explain what i'm doing wrong here?
>
> --
> 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.