There is no direct way to get this information from the API. The API will
contextually indicate the accounts the "current user" blocks but it does not
go the other way.

GET http://api.twitter.com/1/blocks/blocking.json and GET
http://api.twitter.com/1/blocks/blocking/ids.json are the relevant methods.

Aggregating and surfacing this information for purposes outside of the
"current user" context would definitely be a case of "surprising users"
though. Data about who a user who has blocked should remain private to that
user alone.

Taylor

On Wed, Feb 2, 2011 at 3:39 AM, Dean Collins <[email protected]> wrote:

>  Can you tell from the API how many people block a twitter account?
>
> (how about how many people block your own accounts?)
>
>
>
>
>
> If twitter don’t provide tools to help combat spam soon they are going to
> fall into a chasm of uselessness.
>
>
>
>
>
> Cheers,
>
> Dean
>
>
>
>
>
>
>
> --
> 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 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

Reply via email to