Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

social package

Function

GetJsonUserPostsInfo

func GetJsonUserPostsInfo(address address) string

Get the UserPosts info for the user with the given address, including url, n_threads, n_followers and n_following. If the user address is not found, return "". The name of this function has "Info" because it just returns the number of items, not the items themselves. To get the items, see GetJsonFollowers, etc. The response is a JSON string.

Param

Command

gnokey query vm/qeval -remote "https://api.gno.berty.io:443" -data "gno.land/r/berty/social.GetJsonUserPostsInfo()"

Result