Re: [twitter-dev] bidirectional relationship

2010-10-04 Thread Thomas Mango

Ashwin,

As far as I know, you can't do this in a single API call. You can, 
however, call /friends/ids and /followers/ids and use the intersection 
of the two arrays to find what you're looking for.


Relevant API documentation:
http://dev.twitter.com/doc/get/friends/ids
http://dev.twitter.com/doc/get/followers/ids

ashy wrote:

Hi All,

As we can retrieve friends and followers of the user using the twitter
rest api, can we also retrieve
users who are both friends and followers of the user at the same time
(bidirectional relationship)
using the twitter rest api?

Any ideas?

thanks
 ashwin




--
Thomas Mango
tsma...@gmail.com


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


[twitter-dev] bidirectional relationship

2010-10-04 Thread ashy
Hi All,

As we can retrieve friends and followers of the user using the twitter
rest api, can we also retrieve
users who are both friends and followers of the user at the same time
(bidirectional relationship)
using the twitter rest api?

Any ideas?

thanks
ashwin

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