I just tested it and that works.
Thankyou very much.
On Mar 1, 5:19 pm, TjL wrote:
> You need two API calls, I believe:
>
> http://twitter.com/friendships/exists.xml?user_a=SALLY&user_b=JOE
>
> http://twitter.com/friendships/exists.xml?user_a=JOE&user_b=SALLY
>
> To see if Sally follows Joe and
I confused the question:
Are you looking for the overlap in friends or a mutual friendship
between two people?
Dumping friend IDs and looking for duplicates is the right way to do the former.
TjL
Depending on your needs it might be more efficient to use the social
graphs methods
http://apiwiki.twitter.com/REST+API+Documentation#SocialGraphMethods
i.e. get all of user_a's friends and all of user_b's friends and the
do a comparison to identify mutual friends.
On Mar 1, 3:17 am, domfosnz
You need two API calls, I believe:
http://twitter.com/friendships/exists.xml?user_a=SALLY&user_b=JOE
http://twitter.com/friendships/exists.xml?user_a=JOE&user_b=SALLY
To see if Sally follows Joe and Joe follows Sally.
My example of how to do this with curl and XML is here (commandline
Unix sc