Ejemplo n.º 1
0
def seguir_user_id(user_id):
    try:
        c = Client()
        t = c.get_api()
        t.friendships.create(user_id=user_id)
    except Exception as e:
        print "Error al seguir a %s" % user_id
        print e
Ejemplo n.º 2
0
def dejar_seguir_user_id(user_id):
    try:
        c = Client()
        t = c.get_api()
        t.friendships.destroy(user_id=user_id)
    except Exception as e:
        print "Error al dejar de seguir a %s" % user_id
        print e