def api_www163_follow(key, secret, id=WWW163_FOLLOW): return api_www163( '/friendships/create.json', {'screen_name': id}, key, secret, 'POST', )
def api_www163_follow(key, secret, id=WWW163_FOLLOW): return api_www163( '/friendships/create.json', {'screen_name':id}, key, secret, 'POST', )
def api_www163_verify(key, secret, oauth_id): res = api_network_http(*api_www163( '/users/show.json', {}, key, secret, 'GET', )) if json.loads(res): m = json.loads(res) if int(m.get('error_code', '0')) == 401: oauth_rm_by_oauth_id(oauth_id) else: return True