On 8/10/10 10:22 PM, Noah wrote:
> Hello all,
>
> Is there an efficient method to determine if a bunch of users follow
> the authenticating user? I'm trying to show the authenticating user
> which people returned by statuses/mentions (or the stream, or
> whatever) can be direct messaged -- without calling friendships/exists
> for each one.
>
> In an earlier post from April ("Bulk User Relationship Lookup?"),
> Raffi Krikorian mentioned development of friendships/lookup, which
> seems just right. Does anyone know the status of that method?
>
> Thanks,
> Noah
Hi Noah,
You could simply get all followers for the user via this API :
http://dev.twitter.com/doc/get/followers/ids
Then you can check if the person follows you or not by matching the user
id to that list.
Tom