Hi there,

This sounds like it is related to Google Code issue 474 [1]. Please visit Google Code and click on the little star next to the title to get updates when that issue is updated.

Thanks;
  — Matt Sanford

[1] - http://code.google.com/p/twitter-api/issues/detail?id=474

On Apr 21, 2009, at 01:59 AM, Paul Kinlan wrote:

Hi,

I have just noticed this too as it has affected twollo.com, I swear it used to be true/false.

I am wondering if it is now an enumeration, following, not following, blocked or something.

Paul.

2009/4/21 askp <[email protected]>

I'm getting inconsistent values in the "following" field of the result
from /statuses/friends.json. This used to work but it started to break
down a few days ago.

Here's a sample output for an authenticated call for the user navgle

[0] => Array
       (
           [notifications] =>
           [description] =>
           [utc_offset] => 32400
           [favourites_count] => 1
           [profile_sidebar_fill_color] => e0ff92
           [profile_image_url] =>
http://s3.amazonaws.com/twitter_production/profile_images/118094065/70_normal.jpg
           [following] => 2
           [statuses_count] => 6
           [profile_sidebar_border_color] => 87bc44
           [followers_count] => 11
           [profile_background_tile] =>
           [url] => http://ymha.wordpress.com
           [screen_name] => ymha
           [name] => Young Mok Ha
           [friends_count] => 37
           [protected] =>
           [status] => Array
               (
                   [in_reply_to_user_id] =>
[text] => 어제는 회사에서 워크샵을 다 녀왔습니다
                   [favorited] =>
                   [in_reply_to_screen_name] =>
                   [created_at] => Sat Apr 11 01:13:48 +0000 2009
                   [truncated] =>
                   [id] => 1494364130
                   [in_reply_to_status_id] =>
                   [source] => web
               )

           [profile_background_color] => 9ae4e8
           [profile_background_image_url] =>
http://static.twitter.com/images/themes/theme1/bg.gif
           [created_at] => Wed Apr 01 07:35:13 +0000 2009
           [profile_text_color] => 000000
           [location] => seoul
           [id] => 28068985
           [time_zone] => Seoul
           [profile_link_color] => 0000ff
       )

   [1] => Array
       (
           [profile_background_image_url] =>
http://static.twitter.com/images/themes/theme1/bg.gif
           [profile_sidebar_fill_color] => e0ff92
           [screen_name] => onlinsystem__
           [statuses_count] => 0
           [profile_sidebar_border_color] => 87bc44
           [location] =>
           [profile_background_tile] =>
           [utc_offset] =>
           [created_at] => Mon Apr 20 00:27:00 +0000 2009
           [name] => intmktr
           [profile_background_color] => 9ae4e8
           [followers_count] => 8
           [protected] =>
           [description] =>
           [following] => 0
           [friends_count] => 961
           [profile_text_color] => 000000
           [notifications] =>
           [favourites_count] => 0
           [profile_link_color] => 0000ff
           [profile_image_url] =>
http://s3.amazonaws.com/twitter_production/profile_images/147264030/675753_normal.jpg
           [id] => 33353324
           [time_zone] =>
           [url] => http://dgfshfsjsj
       )

   [2] => Array
       (
           [statuses_count] => 3606
           [description] => Father of 3 * Interested In * Health *
Fitness * Outdoors * Social Media * Books * Blogging * Enjoying the
spring weather
           [profile_background_tile] =>
           [utc_offset] => -21600
           [profile_text_color] => 000000
           [following] => 0
           [profile_link_color] => 0000ff
           [profile_image_url] =>
http://s3.amazonaws.com/twitter_production/profile_images/59173692/WILSON_062_normal.jpg
           [profile_background_image_url] =>
http://s3.amazonaws.com/twitter_production/profile_background_images/4061967/Ronnie_Wilson.jpg
           [url] =>
           [name] => Ronnie
           [profile_sidebar_fill_color] => 6E93CA
           [protected] =>
           [screen_name] => ronniewilson
           [status] => Array
               (
                   [in_reply_to_status_id] =>
                   [in_reply_to_user_id] =>
                   [text] => Thanks to all who are wishing me a Happy
Sunday, I'm sure to make the best of it, Don't forget to share a smile
with someone today :)
                   [favorited] =>
                   [in_reply_to_screen_name] =>
                   [truncated] =>
                   [id] => 1558769587
                   [source] => web
                   [created_at] => Sun Apr 19 16:21:05 +0000 2009
               )

           [time_zone] => Central Time (US & Canada)
           [profile_sidebar_border_color] => C9D2BD
           [followers_count] => 64755
           [notifications] =>
           [favourites_count] => 50
           [friends_count] => 68179
           [location] => Kentucky
           [id] => 16061242
           [created_at] => Sun Aug 31 02:21:11 +0000 2008
           [profile_background_color] => BDEDFF
       )

   [3] => Array
       (
           [description] => Manufacturing/ Product Development/
Quality Systems/ Supply Management professional seeking Renewable/
Alternative Energy employment opportunities.
           [profile_background_image_url] =>
http://static.twitter.com/images/themes/theme6/bg.gif
           [utc_offset] => -18000
           [profile_link_color] => FF3300
           [statuses_count] => 9
           [profile_image_url] =>
http://s3.amazonaws.com/twitter_production/profile_images/133020637/Resume_Business_Card_normal.jpg
           [following] => 4
           [profile_sidebar_fill_color] => A0C5C7
           [notifications] =>
           [url] => http://bit.ly/cB5Kn
           [screen_name] => robtewms
           [name] => robtewms
           [profile_sidebar_border_color] => 86A4A6
           [protected] =>
           [status] => Array
               (
                   [in_reply_to_user_id] =>
                   [text] => My Mini Resume http://bit.ly/FpJHI
                   [favorited] =>
                   [in_reply_to_screen_name] =>
                   [created_at] => Fri Apr 17 21:17:11 +0000 2009
                   [truncated] =>
                   [id] => 1545682960
                   [in_reply_to_status_id] =>
                   [source] => <a href="http://bit.ly";>bit.ly</a>
               )

           [profile_background_tile] =>
           [followers_count] => 747
           [created_at] => Thu Oct 02 15:59:09 +0000 2008
           [friends_count] => 1486
           [profile_background_color] => 709397
           [location] => Davisburg, MI 48350
           [id] => 16561160
           [time_zone] => Eastern Time (US & Canada)
           [favourites_count] => 0
           [profile_text_color] => 333333
       )

etc.

It's strange that sometimes the "following" is set to 0 or some
number.

If I'm getting a list of my friends, it means the authenticating user
is following them and the following should be set to 1 for all the
results.

If I make the call to /statuses/followers.json I get the same
inconsistent set of following fields. Even followers who I am
following are to 0 and I also get weird values.

Could someone please fix this?


Reply via email to