RE: jesta witness update - 2016-12-02

You are viewing a single comment's thread from:

jesta witness update - 2016-12-02

in witness-category •  8 years ago 

Hello!
I want to write some steem app.
I have a question about your node described in https://steemit.com/steemws/@jesta/steem-ws-the-public-steem-api-cluster
According to description node support follow_api but when I send:
{"jsonrpc": "2.0", "method": "get_followers", "params": [""], "id": 1} to a node.steem.ws
It returns me: "no method with name 'get_followers'". Can you explain why?

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

It's called like so:

{"jsonrpc":"2.0","method":"call", "params":[3, "get_followers", ["jesta","",1]],"id":0}

The 3 in the call might vary from server to server as well, as it's the API number to use. You can get the ID by running:

{"jsonrpc":"2.0","method":"call", "params":[1, "get_api_by_name", ["follow_api"]],"id":0}

thank you very much