I haven't heard that this is happening, and when I make a follow
request multiple times I don't receive duplicate emails - even if I
cancel and resend.

One thing that may help is that you can see the status of a friendship
by calling /users/show on the user you want to check the follow
request for. If the user you are authenticating using OAuth as has
made a request the data key: follow_request_sent will be true.

Hope that helps,
Matt


On Thu, Sep 2, 2010 at 1:42 PM, Jesse Stay <jesses...@gmail.com> wrote:
> Right now when I initiate follows, the easiest way to determine if the user
> is already following the individual I'm trying to follow is to just send a
> follow request, and get an error back if the user is already following the
> individual.  However, I'm seeing an issue that might not make this the ideal
> way of doing this - it seems for each follow request, even if they're
> already following the individual they're still getting a follow e-mail from
> Twitter.
> Now, there could be a slight chance that the user has actually unfollowed
> and the e-mail is legit, but I wanted to see if the Twitter API team was
> absolutely sure those follow e-mails can't go out if the user is already
> following the individual and a follow request is sent.  Does that make
> sense?
> I'm banging my head against this one - for what I can tell my users aren't
> unfollowing each other, so my next guess is that Twitter is just sending out
> an e-mail each time we send that follow request.  I'd rather not have to
> make 2 API calls just to tell if the user is already following the
> individual or not.  Any thoughts?
> Thanks,
> Jesse
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en

Reply via email to