How would I automatically DM to a person once theyve followed me?

0 views
Skip to first unread message

RTuosto

unread,
May 18, 2009, 5:57:11 PM5/18/09
to Twitter Development Talk
Trying to automate this feature.

Something like how TweetLater has where when a user follows me it
automatically sends them a direct message to welcome them as my friend.

Abraham Williams

unread,
May 18, 2009, 8:19:40 PM5/18/09
to twitter-deve...@googlegroups.com
A) parse the new follower emails. The FAQ has info about that.
B) call status/followers and the newest ones will be at the top of the list.
--
Abraham Williams | http://the.hackerconundrum.com
Hacker | http://abrah.am | http://twitter.com/abraham
Web608 | Community Evangelist | http://web608.org
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Mountain View, California, United States

Ryan Tuosto

unread,
May 18, 2009, 8:23:05 PM5/18/09
to twitter-deve...@googlegroups.com
Ok, but if I'm writing this as a service, I don't have access to other people's emails.

Abraham Williams

unread,
May 18, 2009, 9:38:19 PM5/18/09
to twitter-deve...@googlegroups.com

Then you use option b.

Sent from my adp1

On May 18, 2009 6:21 PM, "Ryan Tuosto" <ryant...@gmail.com> wrote:

Ok, but if I'm writing this as a service, I don't have access to other people's emails.

On Mon, May 18, 2009 at 5:19 PM, Abraham Williams <4br...@gmail.com> wrote: > > A) parse the new ...

Ryan Tuosto

unread,
May 18, 2009, 10:45:05 PM5/18/09
to twitter-deve...@googlegroups.com
What is the best way to do this in real time?

Abraham Williams

unread,
May 19, 2009, 1:24:54 AM5/19/09
to twitter-development-talk
You can call it as often as you want. Just make sure you read the rate limiting docs on the api wiki.

Swaroop

unread,
May 19, 2009, 12:53:11 AM5/19/09
to Twitter Development Talk
Email is your only real time option here.

On May 19, 7:45 am, Ryan Tuosto <ryantuo...@gmail.com> wrote:
> What is the best way to do this in real time?
>
> On Mon, May 18, 2009 at 6:38 PM, Abraham Williams <4bra...@gmail.com> wrote:
> > Then you use option b.
>
> > Sent from my adp1
>
> > On May 18, 2009 6:21 PM, "Ryan Tuosto" <ryantuo...@gmail.com> wrote:
>
> > Ok, but if I'm writing this as a service, I don't have access to other
> > people's emails.
>
> >  On Mon, May 18, 2009 at 5:19 PM, Abraham Williams <4bra...@gmail.com>

Ryan Tuosto

unread,
May 19, 2009, 12:09:45 PM5/19/09
to twitter-deve...@googlegroups.com
Well how does TweetLater do it?  They don't have access to client emails.

Abraham Williams

unread,
May 19, 2009, 1:50:24 PM5/19/09
to twitter-deve...@googlegroups.com
Near real time is not usually a noticeable difference from real time. If the API is polled every minute no one will notice the slight delay.

Coonay

unread,
May 19, 2009, 10:28:43 PM5/19/09
to Twitter Development Talk
nice to hear the solution

On May 20, 12:09 am, Ryan Tuosto <ryantuo...@gmail.com> wrote:
> Well how does TweetLater do it?  They don't have access to client emails.
>

Jesse Stay

unread,
May 20, 2009, 4:56:32 AM5/20/09
to twitter-deve...@googlegroups.com
Please, if you do this and allow other users to use it, enable opt-out for those that don't want to receive the auto-dms.  We're going to start promoting these services that enable an opt-out for this stuff on SocialToo soon (let me know if your service provides this - TweetLater is the only one I'm aware of so far unfortunately).  It's general good practice and gives people choice.

@Jesse

Ryan Tuosto

unread,
May 20, 2009, 5:06:01 AM5/20/09
to twitter-deve...@googlegroups.com
How could a user opt out for this?

It only happens one time, and automatically when they follow a user back.

I'd be happy to enable such a feature, just not seeing how it can be done.

Coonay

unread,
May 20, 2009, 11:08:27 AM5/20/09
to Twitter Development Talk
twitter has a hidden spi from public use,i guess

On May 20, 5:06 pm, Ryan Tuosto <ryantuo...@gmail.com> wrote:
> How could a user opt out for this?
>
> It only happens one time, and automatically when they follow a user back.
>
> I'd be happy to enable such a feature, just not seeing how it can be done.
>
> On Wed, May 20, 2009 at 1:56 AM, Jesse Stay <jesses...@gmail.com> wrote:
> > Please, if you do this and allow other users to use it, enable opt-out for
> > those that don't want to receive the auto-dms.  We're going to start
> > promoting these services that enable an opt-out for this stuff on SocialToo
> > soon (let me know if your service provides this - TweetLater is the only one
> > I'm aware of so far unfortunately).  It's general good practice and gives
> > people choice.
> > @Jesse
>

Chris Thomson

unread,
May 20, 2009, 12:01:59 PM5/20/09
to twitter-deve...@googlegroups.com
You might want to take a look at how TweetLater does it: http://www.tweetlater.com/optout

-Chris Thomson

Jesse Stay

unread,
May 20, 2009, 1:47:39 PM5/20/09
to twitter-deve...@googlegroups.com
Ryan, yeah, check out how TweetLater is doing it - http://twitter.com/optout.  They require a user to follow @optout, and @optout follows the user back.  Then the user just needs to DM @optout and @optout detects the Twitter username and prevents any of their users from sending auto-dms to the users on that list.

Jesse

Ryan Tuosto

unread,
May 20, 2009, 1:53:11 PM5/20/09
to twitter-deve...@googlegroups.com
oh cool!
Reply all
Reply to author
Forward
0 new messages