Hi Cesare,

This is due to the different caching being used on the API. In some
cases the counts will appear to update immediately, in other cases it
will take a little while.
If the accuracy of counts is important you can get the number of
friends or followers a user by counting the number of IDs return by
the /friends/ids or followers/ids methods.

You can learn more about them here:
  http://dev.twitter.com/doc/get/friends/ids
  http://dev.twitter.com/doc/get/followers/ids

Hope that helps,
Matt

On Tue, Aug 24, 2010 at 5:25 AM, Cesare Rocchi <[email protected]> wrote:
> I verified the same behavior with twurl
> ~> twurl -d screen_name=$NAME /1/friendships/destroy.json
> -c.
> On Mon, Aug 23, 2010 at 4:12 PM, funkyboy <[email protected]> wrote:
>>
>> Hello,
>>
>> I am playing with the api.
>> When I unfollow somebody (friendships/destroy) the info returned is
>> incorrect, that is
>> following = 1.
>>
>> The opposite works correctly, that is when I follow (friendships/
>> create), the info
>> returned is correct, following = 1.
>>
>> Is it a bug?
>> I am using json format.
>>
>> Thanks
>>
>> -c.
>>
>> ps: After unfollowing if I load user profile (/users/show) the info
>> returned is correct,
>> I am not following him.
>
>
> --
> Cesare Rocchi
> studiomagnolia.com
>



-- 


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