[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-31 Thread Ben Eliott


Yes, lag makes more sense in this context, i'll run some tests for  
this.  And i note a few other emails about this now.


On 31 Aug 2009, at 19:15, PJB wrote:




We are experiencing similar problems.  Friendship create is returning
success, yet checking Twitter.com directly, or friends/ids.xml does
NOT show the id of the friended user.  At least not immediately.  It
appears as though there is a several hour delay before updating.

On Aug 30, 11:28 pm, Ben Eliott  wrote:

Ok, further to emails below, i had a bit of self doubt because i seem
to alone on this, but now i'm back to being pretty sure something is
up with some twitter servers. As below, twitter is returning success
codes to POST/auth actions but it looks like nothing is happening on
twitter database  (also blocking ids seems to be returning a  
different

number of people from the blocks/blocking.json (see email below)). I
mentioned all this already.   But here's an interesting part... i  
just

noticed if i follow someone via an api call, while neither the api /
friendships/show/ nor the twitter.com/following/ listing shows that
person to be a friend, that persons tweets ARE now appearing on the
profile page as if they were a friend. Phew, now i know something's  
up

at twitter, madness averted. This occured 0602 UTC from 67.23.28.168
but it's an ongoing issue for last three days i'm sure i can  
replicate/

or go back to logs for more info/more exact time if necessary.

On 29 Aug 2009, at 17:35, ben wrote:



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'66', 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 + 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 + 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'00', 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'ff', 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'SA

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-31 Thread PJB


We are experiencing similar problems.  Friendship create is returning
success, yet checking Twitter.com directly, or friends/ids.xml does
NOT show the id of the friended user.  At least not immediately.  It
appears as though there is a several hour delay before updating.

On Aug 30, 11:28 pm, Ben Eliott  wrote:
> Ok, further to emails below, i had a bit of self doubt because i seem  
> to alone on this, but now i'm back to being pretty sure something is  
> up with some twitter servers. As below, twitter is returning success  
> codes to POST/auth actions but it looks like nothing is happening on  
> twitter database  (also blocking ids seems to be returning a different  
> number of people from the blocks/blocking.json (see email below)). I  
> mentioned all this already.   But here's an interesting part... i just  
> noticed if i follow someone via an api call, while neither the api /
> friendships/show/ nor the twitter.com/following/ listing shows that  
> person to be a friend, that persons tweets ARE now appearing on the  
> profile page as if they were a friend. Phew, now i know something's up  
> at twitter, madness averted. This occured 0602 UTC from 67.23.28.168  
> but it's an ongoing issue for last three days i'm sure i can replicate/
> or go back to logs for more info/more exact time if necessary.
>
> On 29 Aug 2009, at 17:35, ben wrote:
>
>
>
> > 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'66', 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 + 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 + 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'00', 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'ff', 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'SA

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-30 Thread Ben Eliott


Ok, further to emails below, i had a bit of self doubt because i seem  
to alone on this, but now i'm back to being pretty sure something is  
up with some twitter servers. As below, twitter is returning success  
codes to POST/auth actions but it looks like nothing is happening on  
twitter database  (also blocking ids seems to be returning a different  
number of people from the blocks/blocking.json (see email below)). I  
mentioned all this already.   But here's an interesting part... i just  
noticed if i follow someone via an api call, while neither the api / 
friendships/show/ nor the twitter.com/following/ listing shows that  
person to be a friend, that persons tweets ARE now appearing on the  
profile page as if they were a friend. Phew, now i know something's up  
at twitter, madness averted. This occured 0602 UTC from 67.23.28.168  
but it's an ongoing issue for last three days i'm sure i can replicate/ 
or go back to logs for more info/more exact time if necessary.


On 29 Aug 2009, at 17:35, ben wrote:



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'66', 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 + 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 + 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'00', 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'ff', 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 + 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'00', 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

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-30 Thread Ben Eliott


Hmm, no, a good idea though. i'm using a python wrapper, it's pretty  
exposed, i've cut out any cacheing in the course of debugging this  
issue.
Well, this looks like a bug with me, otherwise this list would be a  
whole lot more alive today.



On 30 Aug 2009, at 16:22, J. Dale wrote:



How are you calling twitter? Directly or via a wrapper like
EpiTwitter.  I had problems with EpiTwitter effectively caching
requests.  I had to go after particular elements in the result for it
to actually make/return the request.

On Aug 30, 4:47 am, Ben Eliott  wrote:

Ok, further to email below, i'm not able to post follow requests
either, it comes back with success, but no database update seems to
have occurred.
Pretty much looks  like any POST request just isn't happening, even
though twitter is coming back with friendly responses.
Ben

On 29 Aug 2009, at 17:35, ben wrote:



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'66', 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 + 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 + 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'00', 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'ff', 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 + 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'00', 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'ff',
u'prof

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-30 Thread J. Dale

How are you calling twitter? Directly or via a wrapper like
EpiTwitter.  I had problems with EpiTwitter effectively caching
requests.  I had to go after particular elements in the result for it
to actually make/return the request.

On Aug 30, 4:47 am, Ben Eliott  wrote:
> Ok, further to email below, i'm not able to post follow requests  
> either, it comes back with success, but no database update seems to  
> have occurred.
> Pretty much looks  like any POST request just isn't happening, even  
> though twitter is coming back with friendly responses.
> Ben
>
> On 29 Aug 2009, at 17:35, ben wrote:
>
>
>
> > 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'66', 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 + 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 + 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'00', 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'ff', 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 + 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'00', 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'ff',
> > u'profile_image_url': u'http://a

[twitter-dev] Re: /friendships/destroy.json /blocks/blocking /blocking/ids

2009-08-30 Thread Ben Eliott

Ok, further to email below, i'm not able to post follow requests  
either, it comes back with success, but no database update seems to  
have occurred.
Pretty much looks  like any POST request just isn't happening, even  
though twitter is coming back with friendly responses.
Ben


On 29 Aug 2009, at 17:35, ben wrote:

>
> 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'66', 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 + 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 + 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'00', 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'ff', 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 + 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'00', 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'ff',
> 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 + 2008',
> u't