Couple of issues sprouting, i have been editing the code so i'm going
back and back over for some error at my end, but it's looking mighty
odd.

It looks like:
 /friendships/destroy.json is not being updated
blocks/blocking.json is not returning the same users as /blocks/
blocking/ids.json


Logging below. My ip for is 67.23.28.168 and times Europe/London.


logging for friendships/destory:
2009-08-29 17:10:56,702 - twitterauth.utils - INFO - twitter api exe.
- https://twitter.com/friendships/destroy.json. kwargs={'screen_name':
u'arthurcooke'} method=POST is_auth=True
2009-08-29 17:10:57,166 - twitterauth.utils - DEBUG - api auth
response, {u'id': 16612822, u'verified': False,
u'profile_sidebar_fill_color': u'252429', u'profile_text_color':
u'666666', u'followers_count': 14, u'protected': True, u'location':
u'Leeds, UK', u'profile_background_color': u'1A1B1F', u'status':
{u'favorited': False, u'truncated': False, u'text': u'Relaxing in
Aspen.', u'created_at': u'Mon Aug 10 22:45:51 +0000 2009', u'source':
u'web', u'in_reply_to_status_id': None, u'in_reply_to_screen_name':
None, u'in_reply_to_user_id': None, u'id': 3233921143}, u'utc_offset':
0, u'statuses_count': 46, u'description': u'Runner, Mountain Biker,
Science Teacher, Film Fan', u'friends_count': 18,
u'profile_link_color': u'2FC2EF', u'profile_image_url': u'http://
a3.twimg.com/profile_images/81150781/IMG_0320_normal.JPG',
u'notifications': False, u'profile_background_image_url': u'http://
s.twimg.com/a/1251493570/images/themes/theme9/bg.gif', u'screen_name':
u'arthurcooke', u'profile_background_tile': False,
u'favourites_count': 0, u'name': u'arthur cooke', u'url': None,
u'created_at': u'Mon Oct 06 12:07:50 +0000 2008', u'time_zone':
u'London', u'profile_sidebar_border_color': u'181A1E', u'following':
True}

then..not long later

2009-08-29 17:10:59,746 - twitterauth.utils - INFO - twitter api exe.
- https://twitter.com/statuses/friends.json. kwargs={'screen_name':
u'b_e_n_', 'page': 1} method=GET is_auth=False

the response is parsed and friends username listed in log..note
including the one who was just destroyed.

2009-08-29 17:11:00,206 - twittersearch.models - DEBUG - get current
friends for b_e_n_ - [u'TomChivers', u'Love_London', u'Fast140',
u'performativeweb', u'bbcbreaking', u'rhonafwelsh', u'danifromCO',
u'elliottzone', u'maustyn', u'unstuckdesign', u'arthurcooke',
u'jools2']


logging for blocks/blocking, last few logs show 3 blocked users from
blocking.json and 2 from ids.json:

009-08-29 17:11:39,268 - twitterauth.utils - INFO - twitter api exe. -
https://twitter.com/blocks/blocking.json. kwargs={'page': 1}
method=GET is_auth=True

2009-08-29 17:11:39,608 - twitterauth.utils - DEBUG - api auth
response, [{u'id': 16803782, u'verified': False,
u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color':
u'000000', u'followers_count': 8, u'protected': False, u'location':
u'United States', u'profile_background_color': u'9ae4e8',
u'utc_offset': -32400, u'statuses_count': 0, u'description': u':spends
a lot of hours surfing the net', u'friends_count': 111,
u'profile_link_color': u'0000ff', u'profile_image_url': u'http://
a3.twimg.com/profile_images/
62184497/212297864a2022621782b584997122l_normal.jpg',
u'notifications': False, u'profile_background_image_url': u'http://
s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', u'screen_name':
u'SARAH161008', u'profile_background_tile': False,
u'favourites_count': 0, u'name': u'SARAH161008', u'url': u'http://MY-
OWN-PAGE.TK', u'created_at': u'Thu Oct 16 07:03:12 +0000 2008',
u'time_zone': u'Alaska', u'profile_sidebar_border_color': u'87bc44',
u'following': False}, {u'id': 16804065, u'verified': False,
u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color':
u'000000', u'followers_count': 7, u'protected': False, u'location':
u'', u'profile_background_color': u'9ae4e8', u'utc_offset': -32400,
u'statuses_count': 0, u'description': u':wants to GAIN weight!wants to
try bungee jumping & sky diving (but im acrophobic)',
u'friends_count': 84, u'profile_link_color': u'0000ff',
u'profile_image_url': u'http://a1.twimg.com/profile_images/
62185674/212297864a2698743034b849032084l_normal.jpg',
u'notifications': False, u'profile_background_image_url': u'http://
s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', u'screen_name':
u'JOYCE161008', u'profile_background_tile': False,
u'favourites_count': 0, u'name': u'JOYCE161008', u'url': u'http://MY-
OWN-PAGE.TK', u'created_at': u'Thu Oct 16 07:40:38 +0000 2008',
u'time_zone': u'Alaska', u'profile_sidebar_border_color': u'87bc44',
u'following': False}, {u'id': 69771552, u'verified': False,
u'profile_sidebar_fill_color': u'e0ff92', u'profile_text_color':
u'000000', u'followers_count': 3, u'protected': False, u'location':
None, u'profile_background_color': u'9ae4e8', u'status':
{u'favorited': False, u'truncated': False, u'text': u'except whole
foods mac n cheese is just not as good as kraft. http://a4a2b.easyurl.net',
u'created_at': u'Sat Aug 29 10:49:19 +0000 2009', u'source': u'web',
u'in_reply_to_status_id': None, u'in_reply_to_screen_name': None,
u'in_reply_to_user_id': None, u'id': 3623286748}, u'utc_offset': None,
u'statuses_count': 1, u'description': None, u'friends_count': 690,
u'profile_link_color': u'0000ff', u'profile_image_url': u'http://
a1.twimg.com/profile_images/387598494/12215739_lynde_20_normal.gif',
u'notifications': False, u'profile_background_image_url': u'http://
s.twimg.com/a/1251493570/images/themes/theme1/bg.gif', u'screen_name':
u'Blackburn432', u'profile_background_tile': False,
u'favourites_count': 0, u'name': u'TrinidadBlackburn', u'url': None,
u'created_at': u'Sat Aug 29 03:05:08 +0000 2009', u'time_zone': None,
u'profile_sidebar_border_color': u'87bc44', u'following': False}]
2009-08-29 17:11:39,608 - twitterauth.models - DEBUG - user b_e_n_
returning blocked users
2009-08-29 17:11:39,608 - twittersearch.models - DEBUG - get current
blocked for b_e_n_ - [u'SARAH161008', u'JOYCE161008', u'Blackburn432']
2009-08-29 17:11:39,616 - twittersearch.models - DEBUG - get existing
user with those usernames [<TwitterUser: Blackburn432>, <TwitterUser:
JOYCE161008>, <TwitterUser: SARAH161008>]
2009-08-29 17:11:39,640 - twittersearch.models - INFO - resave
SARAH161008
2009-08-29 17:11:39,664 - twittersearch.models - INFO - resave
JOYCE161008
2009-08-29 17:11:39,688 - twittersearch.models - INFO - resave
Blackburn432
2009-08-29 17:11:39,688 - twitterauth.utils - INFO - twitter api exe.
- https://twitter.com/blocks/blocking/ids.json. kwargs={} method=GET
is_auth=True
2009-08-29 17:11:39,988 - twitterauth.utils - DEBUG - api auth
response, [16804065, 16803782]

 - last log shows only two ids from the blocks/blocking, but previous
call shows 3.

Reply via email to