SteemIt API – Two APIs to get the followers and following list in the Wechat Group


Two APIs are made available exclusively for the members in the wechat group. Contact contact#tumutanzi.com or @rivalhw to join the steemit wechat group.

steemit-bot SteemIt API - Two APIs to get the followers and following list in the Wechat Group API php SteemIt

steemit-bot

These APIs are used to get the list of followers and following. The API results are cached in the CloudFlare edge servers and updated every hour.

Get the list of my following:

https://uploadbeta.com/api/steemit/account/following/?cached&id=justyy

Get the list of my fans (followed)

https://uploadbeta.com/api/steemit/account/followed/?cached&id=justyy

Wrapped in PHP, that becomes:

1
2
3
4
5
6
7
function getFollowing($id) {
   return json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/following/?cached&id=$id"), true);
}
 
function getFollowed($id) {
   return json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/followed/?cached&id=$id"), true);
}
function getFollowing($id) {
   return json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/following/?cached&id=$id"), true);
}

function getFollowed($id) {
   return json_decode(file_get_contents("https://uploadbeta.com/api/steemit/account/followed/?cached&id=$id"), true);
}

Check the steemians that a big whale follows but you haven’t followed yet.

1
print_r(array_diff(getFollowing('tumutanzi'), getFollowing('justyy')));
print_r(array_diff(getFollowing('tumutanzi'), getFollowing('justyy')));

Any suggestions/bugs, please report to @justyy

You may also like: SteemIt 获取微信群成员关注和粉丝的API

–EOF (The Ultimate Computing & Technology Blog) —

GD Star Rating
loading...
300 words
Last Post: A Good-Content-Upvote SteemIt Bot for CN Community
Next Post: Simple NodeJS Example to Show Average Scores in the Steemit-Wechat Group

The Permanent URL is: SteemIt API – Two APIs to get the followers and following list in the Wechat Group

Leave a Reply