[twitter-dev] Re: Does this exist?

2009-02-26 Thread Steve Brunton

As much as I hate top quoting.

You mean like Twubble?

http://crazybob.org/twubble/

-steve


On Thu, Feb 26, 2009 at 6:43 PM, TjL  wrote:
>
> My favorite part of TwitReports is the "Follower Crossover" information:
>
> Assume a user "Joe" and a user "Ed".
>
> Ed follows Joe.
>
> Joe might want to know
>
> 1) Does anyone I follow also Ed?
>
> 2) Who else does Ed follow that I also follow?
>
> 3) Who is following both of us?
>
> is there a web site out there which shows this information already if
> I put in two Twitter names?
>
> Don't want to reinvent the wheel :-)
>
> TjL
>


[twitter-dev] Re: Twitter vs. TextMark and Dotgo

2009-02-26 Thread dougw

John,
We had a discussion a few days ago on using the API to automatically
follow a user's followers [1].

It sounds like after ensuring synchronous relationships, it is simply
a matter or writing your application to parse your direct messages and
perform the desired logic.

Does that help get you started in the right direction? If not, include
some user-stories so I can be more specific.

Doug Williams
@dougw

[1] - 
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/5d23b92add67f5a2/def833b208221ac7#def833b208221ac7

On Feb 26, 8:01 pm, jbk  wrote:
> Is it possible to use Twitter API to set up a service where the
> general public can send messages to a website, which processes the
> info and responds? (Like TextMark and Dotgo).
>
> One hurdle I see is that I have to "follow" someone in order to
> receive their messages. Is there an easy way to automate this process
> so that I pretty much follow anyone who asks me to follow her/him?
>
> Thx.


[twitter-dev] Re: one-click follow

2009-02-26 Thread Chad Etzel

It is entirely possible to follow somebody by not going to the twitter
website by using the API. The catch is that it is an authenticated
method, and so the UX for that is not so friendly if you want to keep
it off of twitter's website.  The other catch is that it is not
one-click.

example:

Have a link that says "follow me on twitter".  If the link is clicked,
an pop-up, or div w/ z-index of a billion, or, etc...  appears and has
a Username and Password text box and a button that says "Follow Me!".
They enter their creds, click the button, boom... you've been
followed.  Removed the pop-up/div/whatever.  It's done.

Now, when OAuth rolls around and becomes the exclusive mechanism for
interacting w/ the API, this becomes useless, and implementing a
"Follow Me" OAuth app would (to me) seem to be more trouble than it's
worth since the user would have to authenticate through twitter
anyway.

So...
Is one-click possible?  No.
Is it possible to do off of twitter's site? Yes.
Is it worth it? Maybe (my personal opinion is No).

Would I find a twitter page that is just has "Follow @user" related
text useful?  No, but I could see TjL's point if you've already
received a TwitReport and have already seen the info that would
otherwise have been presented to you on their profile anyway.

-Chad

On Thu, Feb 26, 2009 at 9:38 PM, TjL  wrote:
>
> On Thu, Feb 26, 2009 at 5:49 PM, Nicole Simon  wrote:
>> following on the other hand is at the core of twitter and
>> comes right after tweeting - it is nothing where the user
>> really has to think about "oh how do I do this" but rather
>> leading to the part where they make their usual decision
>> if or if not to follow somebody.
>
> You're assuming that the only way that anyone gets to Twitter is via Twitter.
>
> What if I want a link on my blog which says "Follow me on Twitter"?
>
> Click the link, see the text (read it if you need to), say "Yup, I
> want to follow this person on Twitter".
>
>
> What if you get a TwitReport ( http://tr.im/twitreport ) for a new
> follower and think "Yeah, this is someone I'd like to follow?  What
> would you rather do, load their entire profile page just to click the
> "Follow" link, or just load the part that you need?
>
> Now assume you're on your iPhone or Blackberry. Which would you rather
> do?  There's no 'Follow' mechanism for the mobile Twitter.
>
> BTW, a TwitReport gives you the block URL. But I can't give a follow URL.
>
>
>>> I'd love to see something like:
>>>
>>> http://twitter.com/follow/confirm/NAME
>>>
>>> which would explain following and "notifications" (and give them a
>>> chance to turn notifications on/off right there if they have a device
>>> defined).
>>
>> in this case I would have to go to the real profil to make my decision
>> and then click on follow - 3 steps instead of 2, there is not
>> really an advantage.
>
> Only if your imagination is limited to the idea that no one ever comes
> to Twitter except from Twitter.
>
> No one is suggesting taking away the follow link as it exists. But it
> has limitations.
>
> TjL
>


[twitter-dev] Re: New Actionscript3 Twitter API Library

2009-02-26 Thread Cameron Kaiser

Sorry, stealth spammer got through there. I blame the drugs.

-- 
 personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckai...@floodgap.com
-- Homestar has a web site? -- Strong Bad -


[twitter-dev] Re: New Actionscript3 Twitter API Library

2009-02-26 Thread angel

http://tinyurl.com/cuj4rw
what do we use as3 based twitter api libary around for ?
http://tinyurl.com/cuj4rw


On Feb 26, 6:34 pm, Sandro Ducceschi  wrote:
> Hi everyone
>
> I just wanted to let people know that there is a new as3 based twitter
> api libary around.
>
> Check it out and i'll be happy about any feedback, improvements,
> critique i can get :)
>
> http://code.google.com/p/tweetr/
>
> thx
> Sandro


[twitter-dev] Twitter vs. TextMark and Dotgo

2009-02-26 Thread jbk

Is it possible to use Twitter API to set up a service where the
general public can send messages to a website, which processes the
info and responds? (Like TextMark and Dotgo).

One hurdle I see is that I have to "follow" someone in order to
receive their messages. Is there an easy way to automate this process
so that I pretty much follow anyone who asks me to follow her/him?

Thx.


[twitter-dev] Re: one-click follow

2009-02-26 Thread TjL

On Thu, Feb 26, 2009 at 5:49 PM, Nicole Simon  wrote:
> following on the other hand is at the core of twitter and
> comes right after tweeting - it is nothing where the user
> really has to think about "oh how do I do this" but rather
> leading to the part where they make their usual decision
> if or if not to follow somebody.

You're assuming that the only way that anyone gets to Twitter is via Twitter.

What if I want a link on my blog which says "Follow me on Twitter"?

Click the link, see the text (read it if you need to), say "Yup, I
want to follow this person on Twitter".


What if you get a TwitReport ( http://tr.im/twitreport ) for a new
follower and think "Yeah, this is someone I'd like to follow?  What
would you rather do, load their entire profile page just to click the
"Follow" link, or just load the part that you need?

Now assume you're on your iPhone or Blackberry. Which would you rather
do?  There's no 'Follow' mechanism for the mobile Twitter.

BTW, a TwitReport gives you the block URL. But I can't give a follow URL.


>> I'd love to see something like:
>>
>> http://twitter.com/follow/confirm/NAME
>>
>> which would explain following and "notifications" (and give them a
>> chance to turn notifications on/off right there if they have a device
>> defined).
>
> in this case I would have to go to the real profil to make my decision
> and then click on follow - 3 steps instead of 2, there is not
> really an advantage.

Only if your imagination is limited to the idea that no one ever comes
to Twitter except from Twitter.

No one is suggesting taking away the follow link as it exists. But it
has limitations.

TjL


[twitter-dev] New Actionscript3 Twitter API Library

2009-02-26 Thread Sandro Ducceschi

Hi everyone

I just wanted to let people know that there is a new as3 based twitter
api libary around.

Check it out and i'll be happy about any feedback, improvements,
critique i can get :)

http://code.google.com/p/tweetr/

thx
Sandro


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Andrew Badera
Why?


On Thu, Feb 26, 2009 at 9:31 PM, Nick Arnett  wrote:

>
>
> On Thu, Feb 26, 2009 at 6:10 PM, Andrew Badera  wrote:
>
>> If you're trying to use cheap-a$$ "unlimited web hosting" in lieu of true
>> application/cloud/SaaS hosting, sure, 1.4M sounds like a lot.
>>
>> If you're willing to spend a couple bucks a month, or write Python against
>> GAE, 1.4M is hotdog-down-a-hallway ...
>>
>
> GAE??  Google Application Engine?  Python is, indeed, what I'm working with
> and I've been looking at GAE... but to make the point a second time, this
> was for only ONE user with only 300 followers.  Yes, easy to do as a
> one-off.  Harder if you want to answer the same questions quickly about
> large numbers of people.
>
> Nick
>


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Nick Arnett
On Thu, Feb 26, 2009 at 6:10 PM, Andrew Badera  wrote:

> If you're trying to use cheap-a$$ "unlimited web hosting" in lieu of true
> application/cloud/SaaS hosting, sure, 1.4M sounds like a lot.
>
> If you're willing to spend a couple bucks a month, or write Python against
> GAE, 1.4M is hotdog-down-a-hallway ...
>

GAE??  Google Application Engine?  Python is, indeed, what I'm working with
and I've been looking at GAE... but to make the point a second time, this
was for only ONE user with only 300 followers.  Yes, easy to do as a
one-off.  Harder if you want to answer the same questions quickly about
large numbers of people.

Nick


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Nick Arnett
On Thu, Feb 26, 2009 at 5:51 PM, Dossy Shiobara  wrote:

>
> On 2/26/09 7:19 PM, Nick Arnett wrote:
>
>> Yes, you probably don't, unless you just want to do it occasionally.
>>  I'm working on some graph manipulations like that... the challenge is
>> that Twitter is so open that the graphs are enormous for many people.
>> This isn't a very hard problem on a small scale, but generalizing it
>> looks like it will take a lot of resources.
>>
>
> Huh?  Now that Twitter has added the two social graph APIs that return the
> entire list of IDs, this kind of social graph inspection becomes trivially
> easy: two API calls, and one set operation (intersect).  Even at 1M
> followers, if the two lists are sorted, this is an O(N) operation.


I guess I read it as a second-order problem, but now I see how it was
probably just the first-order intersection.  Still, the second-order
problems are interesting and difficult, I believe.

Nick


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Nick Arnett
On Thu, Feb 26, 2009 at 5:54 PM, Dossy Shiobara  wrote:

>
> On 2/26/09 7:39 PM, Nick Arnett wrote:
>
>> FYI, there are 345,000 nodes and 1.4 million edges in the graph of me,
>> my followers and their followers.  I'm sure this could be pared down
>> considerably by eliminating a handful of extremely popular people, but
>> it's still a hard problem to scale.
>>
>
> Considering the modern GPU can handle in the range of 1.5 billion vertices
> per second, does 1.4M edges really sound like a large number any more?


No.  But that's for ONE Twitter user.  There is more than one.  ;-)

Nick


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Andrew Badera
If you're trying to use cheap-a$$ "unlimited web hosting" in lieu of true
application/cloud/SaaS hosting, sure, 1.4M sounds like a lot.

If you're willing to spend a couple bucks a month, or write Python against
GAE, 1.4M is hotdog-down-a-hallway ...



On Thu, Feb 26, 2009 at 8:54 PM, Dossy Shiobara  wrote:

>
> On 2/26/09 7:39 PM, Nick Arnett wrote:
>
>> FYI, there are 345,000 nodes and 1.4 million edges in the graph of me,
>> my followers and their followers.  I'm sure this could be pared down
>> considerably by eliminating a handful of extremely popular people, but
>> it's still a hard problem to scale.
>>
>
> Considering the modern GPU can handle in the range of 1.5 billion vertices
> per second, does 1.4M edges really sound like a large number any more?
>
>
> --
> 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)
>


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Dossy Shiobara


On 2/26/09 7:39 PM, Nick Arnett wrote:

FYI, there are 345,000 nodes and 1.4 million edges in the graph of me,
my followers and their followers.  I'm sure this could be pared down
considerably by eliminating a handful of extremely popular people, but
it's still a hard problem to scale.


Considering the modern GPU can handle in the range of 1.5 billion 
vertices per second, does 1.4M edges really sound like a large number 
any more?


--
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)


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Dossy Shiobara


On 2/26/09 7:19 PM, Nick Arnett wrote:

Yes, you probably don't, unless you just want to do it occasionally.
  I'm working on some graph manipulations like that... the challenge is
that Twitter is so open that the graphs are enormous for many people.
This isn't a very hard problem on a small scale, but generalizing it
looks like it will take a lot of resources.


Huh?  Now that Twitter has added the two social graph APIs that return 
the entire list of IDs, this kind of social graph inspection becomes 
trivially easy: two API calls, and one set operation (intersect).  Even 
at 1M followers, if the two lists are sorted, this is an O(N) operation.



A relational database falls down very fast on this kind of analysis.
  For example, I have more than 300 followers, which is a simple
query... but it returns 300 users and now the query needs to ask who the
followers of those 300 are, to answer question No. 1.  That's a big,
slow query, since it has to specify the ids of the 300 that I follow...
or it is 300 smaller queries.  Either way, ugh.  That query is going to
return a very large number of items, many of which need to be compared
with one another.


Say WHAT?  Are we looking at the same question?  Here's what I saw:

>> 1) Does anyone I follow also Ed?

Two API calls - one to fetch everyone Joe follows, one to fetch all of 
Ed's followers.  Compute the set intersection ... done.  This should 
take no longer than 5 minutes to implement, and should perform just fine.



So... I'm also curious who else is working on social graph problems.

Also... show of hands, please... who else would use this kind of
capability if it were available?  I may be able to come up with
resources to make it happen.


Seriously, I could have put this into Twitter Karma when the new social 
graph API methods were announced, but who cares?  Studying the social 
graph is only interesting to ivory tower academic wankers who want an 
excuse to hang out on social networking sites as part of their PhD study.


If anyone can come up with an actual valuable use case for these kinds 
of reports that aren't purely navel gazing and ego fluffing exercises, 
I'll implement it for you in Twitter Karma.  It's not hard stuff.


--
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)


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Pete Warden
(Privately mailed, since I'm nervous about edging off-topic)

I'm working on some related areas, capturing conversation data from Twitter
at http://twitter.mailana.com/ . My approach has been the classic disk-space
trade off, creating massive indices to pre-cache queries. You're right
though, even with that approach the overhead of updating the denormalized
data of a complete friends-of-friends list for all users every time a link
changed would be enormous.

Pete

On Thu, Feb 26, 2009 at 4:39 PM, Nick Arnett  wrote:

>
>
> On Thu, Feb 26, 2009 at 4:19 PM, Nick Arnett wrote:
>
>>
>> A relational database falls down very fast on this kind of analysis.  For
>> example, I have more than 300 followers, which is a simple query... but it
>> returns 300 users and now the query needs to ask who the followers of those
>> 300 are, to answer question No. 1.  That's a big, slow query, since it has
>> to specify the ids of the 300 that I follow... or it is 300 smaller queries.
>>  Either way, ugh.  That query is going to return a very large number of
>> items, many of which need to be compared with one another.
>>
>
> FYI, there are 345,000 nodes and 1.4 million edges in the graph of me, my
> followers and their followers.  I'm sure this could be pared down
> considerably by eliminating a handful of extremely popular people, but it's
> still a hard problem to scale.
>
> Nick
>


Re: Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Nick Arnett
On Thu, Feb 26, 2009 at 4:19 PM, Nick Arnett  wrote:

>
> A relational database falls down very fast on this kind of analysis.  For
> example, I have more than 300 followers, which is a simple query... but it
> returns 300 users and now the query needs to ask who the followers of those
> 300 are, to answer question No. 1.  That's a big, slow query, since it has
> to specify the ids of the 300 that I follow... or it is 300 smaller queries.
>  Either way, ugh.  That query is going to return a very large number of
> items, many of which need to be compared with one another.
>

FYI, there are 345,000 nodes and 1.4 million edges in the graph of me, my
followers and their followers.  I'm sure this could be pared down
considerably by eliminating a handful of extremely popular people, but it's
still a hard problem to scale.

Nick


Social graph (was Re: [twitter-dev] Does this exist?)

2009-02-26 Thread Nick Arnett
On Thu, Feb 26, 2009 at 3:43 PM, TjL  wrote:

>
> My favorite part of TwitReports is the "Follower Crossover" information:
>
> Assume a user "Joe" and a user "Ed".
>
> Ed follows Joe.
>
> Joe might want to know
>
> 1) Does anyone I follow also Ed?
>
> 2) Who else does Ed follow that I also follow?
>
> 3) Who is following both of us?
>
> is there a web site out there which shows this information already if
> I put in two Twitter names?
>
> Don't want to reinvent the wheel :-)


Yes, you probably don't, unless you just want to do it occasionally.  I'm
working on some graph manipulations like that... the challenge is that
Twitter is so open that the graphs are enormous for many people.   This
isn't a very hard problem on a small scale, but generalizing it looks like
it will take a lot of resources.

A relational database falls down very fast on this kind of analysis.  For
example, I have more than 300 followers, which is a simple query... but it
returns 300 users and now the query needs to ask who the followers of those
300 are, to answer question No. 1.  That's a big, slow query, since it has
to specify the ids of the 300 that I follow... or it is 300 smaller queries.
 Either way, ugh.  That query is going to return a very large number of
items, many of which need to be compared with one another.

So... I'm also curious who else is working on social graph problems.

Also... show of hands, please... who else would use this kind of capability
if it were available?  I may be able to come up with resources to make it
happen.

Nick


[twitter-dev] Does this exist?

2009-02-26 Thread TjL

My favorite part of TwitReports is the "Follower Crossover" information:

Assume a user "Joe" and a user "Ed".

Ed follows Joe.

Joe might want to know

1) Does anyone I follow also Ed?

2) Who else does Ed follow that I also follow?

3) Who is following both of us?

is there a web site out there which shows this information already if
I put in two Twitter names?

Don't want to reinvent the wheel :-)

TjL


[twitter-dev] Re: Twitter -> My Web Service commnication possible?

2009-02-26 Thread Andrew Badera
Yeah, XMPP if it ever gets re-enabled ...



On Thu, Feb 26, 2009 at 5:30 PM, samunai@googlemail.com <
samunai@googlemail.com> wrote:

>
> Thank You, Matt!
>
> Yes, this is good idea. We will look for other possibilitys, but your
> idea is the smartes so long.
>
> Any other suggestions guys?
>
> samunai
>
> On 26 Feb., 16:13, Matt Sanford  wrote:
> > Hi Samunai,
> >
> >  You can have people follow you on Twitter and the follow them
> > back. Once you have that you'll have an easy we to collect this
> > information via direct messages. I suggest signing up for and account
> > at Dopplr (dopplr.com) to see how they have done it.
> >
> > — Matt
> >
> > On Feb 26, 2009, at 04:24 AM, samunai@googlemail.com wrote:
> >
> >
> >
> > > Hello!
> >
> > > I looked at API Documentation but didn't find anything what would help
> > > me.
> >
> > > My Problem is, we have a Web Community about meet locations. You can
> > > set your current location and make it visible for your friends.
> >
> > > We would like to allow our users, who also have a twitter account, to
> > > set their position via twitter-messages like "iam@".
> >
> > > Is here any way to implement such thing?
> >
> > > I fear that here is no way to do this direct on twitter (site).
> >
> > > I think, the only one possibility to allow this, is developing our own
> > > client/add-on for Windows / IM applications / widgets etc. But then we
> > > have one step more users have to do: install these stuff instead of
> > > using twitter on known way.
> >
> > > Guys, it would be very nice, if you could help us with some hints or
> > > tips!
> >
> > > samunai
>


[twitter-dev] Re: one-click follow

2009-02-26 Thread Nicole Simon
On Thu, Feb 26, 2009 at 11:40 PM, TjL  wrote:

> That's exactly how blocking works.
>

but blocking is a rare plus also a 'negative' action meaning it requires
an extra step because it is unusual to the users of twitter and
it should be additional to avoid mistakes.

following on the other hand is at the core of twitter and
comes right after tweeting - it is nothing where the user
really has to think about "oh how do I do this" but rather
leading to the part where they make their usual decision
if or if not to follow somebody.

I'd love to see something like:
>
> http://twitter.com/follow/confirm/NAME
>
> which would explain following and "notifications" (and give them a
> chance to turn notifications on/off right there if they have a device
> defined).


in this case I would have to go to the real profil to make my decision
and then click on follow - 3 steps instead of 2, there is not
really an advantage.

Nicole



-- 
Jetzt im Buchhandel:
"Twitter - Mit 140 Zeichen zum Web 2.0"
Amazon: http://tinyurl.com/6at9c5

http://mit140zeichen.de - http://twitter.com/m140z

Kontakt:
http://twitter.com/NicoleSimon
https://www.xing.com/profile/Nicole_Simon

skype: nicole.simon / mailto:nicole.si...@mit140zeichen.de
phone: +49 451 899 75 03 / mobile: +49 179 499 7076


[twitter-dev] Re: Twitter -> My Web Service commnication possible?

2009-02-26 Thread samunai....@googlemail.com

Thank You, Matt!

Yes, this is good idea. We will look for other possibilitys, but your
idea is the smartes so long.

Any other suggestions guys?

samunai

On 26 Feb., 16:13, Matt Sanford  wrote:
> Hi Samunai,
>
>      You can have people follow you on Twitter and the follow them  
> back. Once you have that you'll have an easy we to collect this  
> information via direct messages. I suggest signing up for and account  
> at Dopplr (dopplr.com) to see how they have done it.
>
> — Matt
>
> On Feb 26, 2009, at 04:24 AM, samunai@googlemail.com wrote:
>
>
>
> > Hello!
>
> > I looked at API Documentation but didn't find anything what would help
> > me.
>
> > My Problem is, we have a Web Community about meet locations. You can
> > set your current location and make it visible for your friends.
>
> > We would like to allow our users, who also have a twitter account, to
> > set their position via twitter-messages like "iam@".
>
> > Is here any way to implement such thing?
>
> > I fear that here is no way to do this direct on twitter (site).
>
> > I think, the only one possibility to allow this, is developing our own
> > client/add-on for Windows / IM applications / widgets etc. But then we
> > have one step more users have to do: install these stuff instead of
> > using twitter on known way.
>
> > Guys, it would be very nice, if you could help us with some hints or
> > tips!
>
> > samunai


[twitter-dev] Re: one-click follow

2009-02-26 Thread TjL

On Thu, Feb 26, 2009 at 5:09 PM, Pete Warden  wrote:
> From a UI point of view I'd prefer to have a dedicated Twitter landing page
> that you could send people to that just contained a 'Do you want to follow
> X?' rather than having the ubiquitous 'Go to this page and then find the
> follow button' text on every source page. Just my 2 cents though. :)

That's exactly how blocking works.

http://twitter.com/blocks/confirm/NAME

shows what blocking means and asks if you want to do it.

I'd love to see something like:

http://twitter.com/follow/confirm/NAME

which would explain following and "notifications" (and give them a
chance to turn notifications on/off right there if they have a device
defined).


[twitter-dev] Are < and > no longer counted as 4 characters?

2009-02-26 Thread TjL

I learned long ago that < and > counts as 4 characters because it gets
encoded as HTML.

I just did a test (thanks to Chad for suggesting it) and it appears
that this is no longer the case, but I was wondering if this was:

a) a mistake on my part and it had never been true

b) had changed recently

c) is something else

TjL


[twitter-dev] Re: auto follow using twitter api

2009-02-26 Thread JimShoe

Just the other day, I did this.  Its rather easy to do, yes the
downside is its not realtime.  It would be nice if the api allowed for
a call such as "get new followers since X-time"

On Feb 25, 4:27 pm, Doug Williams  wrote:
> iilv,
> Another way to auto-follow is to use the Social Graph API methods.
>
> For instance you could set up a script to run periodically that does
> the following:
>
> 1) download all of a user's friends' ID's through the friends/ids
> method and store them in a data structure
> 2) download all of the user's followers' IDs through the followers/ids
> method and store them in the data structure
> 3) perform a diff on these two data structures, finding all follower
> ids not currently in the friend id list.
> 4) follow the follower ids from step 3 with the friendships/create method
>
> This circumvents the parsing of new follower emails. The trade off is
> that it is not real-time since the script has to be run at periodic
> intervals.
>
> Hope that helps.
>
> Doug Williams
> @dougw
> do...@igudo.com
>
>
>
>
>
> On Wed, Feb 25, 2009 at 4:47 PM, TjL  wrote:
>
> > Well, you can't auto-follow when someone sends you a DM, because you
> > have to ALREADY be following someone in order to get a DM.
>
> > You can auto-follow when someone starts to follow you.
>
> > If you are familiar with procmail, you can auto-follow using the recipe 
> > below.
>
> > (If you are not familiar with procmail, please delete and ignore. It's
> > beyond my scope to teach and not every mail server supports it.)
>
> > :0ci
> > * ^X-Twitteremailtype: is_following
> > * ^From: @postmaster\.twitter\.com
> > * ^Subject: .* is now following you on Twitter!
> > * ^X-Twittersenderscreenname: \/[^ ]+
> > | curl    --netrc -s \
> >                --data POST \
> >                "http://twitter.com/friendships/create/$MATCH.xml"; >/dev/null
>
> > Note that you MUST have your twitter credentials stored in ~/.netrc
> > for this to work in a format like this:
>
> > machine twitter.com
> >        login YourTwitternameHere
> >        password SeKrEt
>
> > Also note that this doesn't do any error-checking to make sure that
> > the auto-follow has worked.
>
> > FWIW
>
> > TjL
>
> --
> Doug Williams
>
> do...@igudo.comhttp://www.igudo.com- Hide quoted text -
>
> - Show quoted text -


[twitter-dev] Re: Entity encoding in API is broken.

2009-02-26 Thread Chad Etzel

I don't think they count as 4 characters.  I just tried:
"< < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < <
< < < < < < " and it came through just fine, whereas it would be way
over the limit if each '<' counted as 4 chars.

I'm sure they are all escaped for some html injection attack
prevention, but I do think something is amiss with the encoding of &.

-Chad

On Thu, Feb 26, 2009 at 5:04 PM, TjL  wrote:
>
> On Thu, Feb 26, 2009 at 3:24 PM, Jonathan Feinberg  wrote:
>> In other words, either encode the whole tweet, or none of it, when
>> providing tweets as data.
>
> And, in case anyone is voting, I really really wish that < and >
> didn't count as 4 characters. It seems odd that it does when & and "
> are encoded but only count as one.
>
> Related: There's no real need to encode the > is there?
>
> TjL
>


[twitter-dev] Re: one-click follow

2009-02-26 Thread Pete Warden
Well, actually there kinda-is:
http://petewarden.typepad.com/searchbrowser/2008/12/how-to-create-a-oneclick-twitter-follow-button.html

There was a hole in December that allowed the user's
twitter.comauthentication cookies to be used by another page's
Javascript. That's now
been fixed, so the technique now brings up a dialog asking for the user's
name and password when they click. A pretty confusing user experience
though, so I no longer use it.

>From a UI point of view I'd prefer to have a dedicated Twitter landing page
that you could send people to that just contained a 'Do you want to follow
X?' rather than having the ubiquitous 'Go to this page and then find the
follow button' text on every source page. Just my 2 cents though. :)

Pete

On Thu, Feb 26, 2009 at 1:46 PM, Stuart  wrote:

> 2009/2/26 pnoeric 
>
>
>> Hey, is there a one-click "follow this user" link? I'm adding social
>> bookmarking features to my site and one of them is "Follow us on
>> Twitter." Currently I sent them to my Twitter page (http://twitter.com/
>> flwbooks) and they have to click below my icon, then click following.
>>
>> I'd prefer to have them land on a page that just said "Ok, you're now
>> following @FLWbooks" (or even a simple "Do you want to follow
>> @FLWbooks? yes/no" page).
>>
>> It sounds minor, but every click counts, so thought I'd ask... :-)
>>
>
> No there isn't, since it would be wide open to abuse. And a yes/no page
> would not reduce clicks so is rather redundant IMHO.
> -Stuart
>
> --
> http://stut.net/
>


[twitter-dev] Re: Entity encoding in API is broken.

2009-02-26 Thread TjL

On Thu, Feb 26, 2009 at 3:24 PM, Jonathan Feinberg  wrote:
> In other words, either encode the whole tweet, or none of it, when
> providing tweets as data.

And, in case anyone is voting, I really really wish that < and >
didn't count as 4 characters. It seems odd that it does when & and "
are encoded but only count as one.

Related: There's no real need to encode the > is there?

TjL


[twitter-dev] Re: one-click follow

2009-02-26 Thread Stuart
2009/2/26 pnoeric 

>
> Hey, is there a one-click "follow this user" link? I'm adding social
> bookmarking features to my site and one of them is "Follow us on
> Twitter." Currently I sent them to my Twitter page (http://twitter.com/
> flwbooks) and they have to click below my icon, then click following.
>
> I'd prefer to have them land on a page that just said "Ok, you're now
> following @FLWbooks" (or even a simple "Do you want to follow
> @FLWbooks? yes/no" page).
>
> It sounds minor, but every click counts, so thought I'd ask... :-)
>

No there isn't, since it would be wide open to abuse. And a yes/no page
would not reduce clicks so is rather redundant IMHO.
-Stuart

-- 
http://stut.net/


[twitter-dev] Re: Entity encoding in API is broken.

2009-02-26 Thread Chad Etzel

Confirmed. Both if entering an update from web or API.

I sent a message "< <" and got back "< <" as stated below.
also entered "& &" got back "& &"

-Chad

On Thu, Feb 26, 2009 at 3:24 PM, Jonathan Feinberg  wrote:
>
> If you put a literal left angle-bracket into a tweet, it is rendered
> as the characters 'ampersand', 'l', 't', and 'semicolon', which is
> reasonable. However, if you put that sequence of characters into a
> tweet--'ampersand', 'l', 't', and 'semicolon'--then they are rendered
> literally. Therefore, it is impossible to correctly decode a tweet.
> You should be encoding literal ampersands as 'ampersand', 'a', 'm',
> 'p', 'semicolon'.
>
> In other words, either encode the whole tweet, or none of it, when
> providing tweets as data.
>
> Thanks.
>


[twitter-dev] Entity encoding in API is broken.

2009-02-26 Thread Jonathan Feinberg

If you put a literal left angle-bracket into a tweet, it is rendered
as the characters 'ampersand', 'l', 't', and 'semicolon', which is
reasonable. However, if you put that sequence of characters into a
tweet--'ampersand', 'l', 't', and 'semicolon'--then they are rendered
literally. Therefore, it is impossible to correctly decode a tweet.
You should be encoding literal ampersands as 'ampersand', 'a', 'm',
'p', 'semicolon'.

In other words, either encode the whole tweet, or none of it, when
providing tweets as data.

Thanks.


[twitter-dev] one-click follow

2009-02-26 Thread pnoeric

Hey, is there a one-click "follow this user" link? I'm adding social
bookmarking features to my site and one of them is "Follow us on
Twitter." Currently I sent them to my Twitter page (http://twitter.com/
flwbooks) and they have to click below my icon, then click following.

I'd prefer to have them land on a page that just said "Ok, you're now
following @FLWbooks" (or even a simple "Do you want to follow
@FLWbooks? yes/no" page).

It sounds minor, but every click counts, so thought I'd ask... :-)

Eric


[twitter-dev] Re: Automated User Registration

2009-02-26 Thread Doug Williams

Arvind,
No this is not available. Users must register through the Web interface.

Thanks,
Doug Williams
@dougw

(Sent from my mobile device)

-Original Message-
From: Arvind R 

Date: Wed, 25 Feb 2009 21:36:48 
To: Twitter Development Talk
Subject: [twitter-dev] Automated User Registration



Hello,

IWe are planning a group festival in our organisation, centered arounf
tech solutions. To allow users to post comments, we plan to use
twitter and broadcast and display the live commentaries.

To enable this, we want to automate user registration. Is there any
function within the Twitter API to do this.

Thanks in Advance,
ArvindR



[twitter-dev] Re: Twitter -> My Web Service commnication possible?

2009-02-26 Thread Matt Sanford

Hi Samunai,

You can have people follow you on Twitter and the follow them  
back. Once you have that you'll have an easy we to collect this  
information via direct messages. I suggest signing up for and account  
at Dopplr (dopplr.com) to see how they have done it.


— Matt

On Feb 26, 2009, at 04:24 AM, samunai@googlemail.com wrote:



Hello!

I looked at API Documentation but didn't find anything what would help
me.

My Problem is, we have a Web Community about meet locations. You can
set your current location and make it visible for your friends.

We would like to allow our users, who also have a twitter account, to
set their position via twitter-messages like "iam@".

Is here any way to implement such thing?

I fear that here is no way to do this direct on twitter (site).

I think, the only one possibility to allow this, is developing our own
client/add-on for Windows / IM applications / widgets etc. But then we
have one step more users have to do: install these stuff instead of
using twitter on known way.

Guys, it would be very nice, if you could help us with some hints or
tips!

samunai




[twitter-dev] Twitter -> My Web Service commnication possible?

2009-02-26 Thread samunai....@googlemail.com

Hello!

I looked at API Documentation but didn't find anything what would help
me.

My Problem is, we have a Web Community about meet locations. You can
set your current location and make it visible for your friends.

We would like to allow our users, who also have a twitter account, to
set their position via twitter-messages like "iam@".

Is here any way to implement such thing?

I fear that here is no way to do this direct on twitter (site).

I think, the only one possibility to allow this, is developing our own
client/add-on for Windows / IM applications / widgets etc. But then we
have one step more users have to do: install these stuff instead of
using twitter on known way.

Guys, it would be very nice, if you could help us with some hints or
tips!

samunai


[twitter-dev] Automated User Registration

2009-02-26 Thread Arvind R

Hello,

IWe are planning a group festival in our organisation, centered arounf
tech solutions. To allow users to post comments, we plan to use
twitter and broadcast and display the live commentaries.

To enable this, we want to automate user registration. Is there any
function within the Twitter API to do this.

Thanks in Advance,
ArvindR


[twitter-dev] Not ignoring accents anymore?

2009-02-26 Thread TCI

Hello,
We used to get the same results for 
http://search.twitter.com/search?q="defensa+pública";
than for http://search.twitter.com/search?q="defensa+publica";
Today I noticed that the second one is not generating any results
anymore. Why the change? Being that many tweet from a cellphone, many
people do not accent their words and so it was useful to ignore them
altogether.
If the change is deliberate and definite, can you add a parameter that
makes it work as before?
R