diff options
author | default <nobody@localhost> | 2022-09-20 09:48:13 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-20 09:48:13 +0200 |
commit | acff91e0adec8a9a80412e376e77bed392e333c4 (patch) | |
tree | 08f4d38be53de85d561550fd9db70a88444d2cc1 /main.c | |
parent | 839cb552f4a42bea5018ce150e85920dbac3f456 (diff) |
More follower data code.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -14,7 +14,17 @@ int main(int argc, char *argv[]) srv_open("/home/angel/lib/snac/comam.es/"); user_open(&snac, "mike"); - snac_log(&snac, xs_str_new("ok")); + + { + xs *list = follower_list(&snac); + char *p, *obj; + + p = list; + while (xs_list_iter(&p, &obj)) { + char *actor = xs_dict_get(obj, "actor"); + printf("%s\n", actor); + } + } { xs *list = user_list(); |