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
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