Skip to content
Snippets Groups Projects
Commit 325e1665 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

example for getFollowCount

parent 46337411
No related branches found
No related tags found
1 merge request!17update readme
......@@ -1584,6 +1584,26 @@ hive.api.getFollowCount(account, function(err, result) {
});
```
|Parameter|Description|Datatype|Notes|
|---|---|---|---|
|account|The name for get the follow ccount for|String|No leading @ symbol|
|function()|Your callback|function|Tip: use `console.log(err, result)` to see the result|
Call Example:
```js
hive.api.getFollowCount('username', function(err, result) {
console.log(err, result);
});
```
Return Example:
```js
{ account: 'username', follower_count: 16790, following_count: 913 }
```
See also: [getFollowers](#get-followers), [getFollowing](#get-following)
## Broadcast API
### Broadcast Transaction Synchronous
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment