コード例 #1
0
def common_cares(one_name,another_name):
    try:
        one = weibo_member.weibo_member(one_name)
        another = weibo_member.weibo_member(another_name)
        return list(weibo_member.common_cares(one,another))
    except:
        print "出现错误!输入的名字无法匹配"
コード例 #2
0
def second_friends(name):
    try:
        one = weibo_member.weibo_member(name)
        return list(one.get_second_friends())
    except:
        print "出现错误!输入的名字无法匹配"