SteemIt API Tool - Check If Your Followers Have Voted Your Post 撸了一个工具 - 快速检查你的粉丝到底有没有给你点赞!(带 免费API)

in #steemit7 years ago (edited)

In 3 hours, I have managed to develop and test the API and Tool that can be used to check which of your followers have not voted your post.

It is based on this idea:

  1. Based on a SteemIt.com or Steemd.com URL for example,   https://steemit.com/cn/@happyukgo/i-don-t-understand-this-t-shirt-t-shirt    we can extract the ID which is  my wife @happyukgo
  2. Based on the webapi   we can get the list of followers: https://webapi.steemdata.com/Accounts?where=name==happyukgo
  3. Based on https://steemd.com/cn/@happyukgo/i-don-t-understand-this-t-shirt-t-shirt  we extract the current followers using regular expression. 
  4.  That is it. Using array_diff in PHP, we know the list of followers that do not vote your post yet.

AND..... this is the online tool with API documentation.

https://helloacm.com/tools/steemit/who-has-not-voted/ 

Bugs reported to   @justyy  

Following are the screenshots,  as you can see, very easy to use, you just need to copy the URL and press Enter (or click the button).

花了三小时,总算把这个小工具(自带API)的做出来的,主要的用法就是给定一个STEEM贴,然后分析出ID号,然后得出粉丝列表,然后再解析HTML源代码分析出当前点赞的粉丝,最后面计算两个数组的差别就是没有点赞的粉丝。

工具试一下好不好用。有问题联系 @justyy   好困啊。。要睡觉去了 zZZZZZZ

中文界面 https://helloacm.com/tools/steemit/who-has-not-voted-yet/

API (Application Programming Interface)

The API following has a rate-limit 1 call per second.

https://uploadbeta.com/api/steemit/who-has-not-voted/?url=https://steemd.com/cn/@justyy/a-quick-tour-to-british-museum-the-british-are-not-returning-the-china-collections-to-china

It will return JSON-encoded data:

{"id":"justyy","who-has-not-voted-yet":["a-jeffrey","aaronli","abit","abupasi.alachy","aijeong","akomoajong","alecsadler","alienposts","always1success","angelamei","aqeelmalik","arielthemermaid","arnoldwish","artcenter1","avilsd","azazqwe","azirgraff","beautifulbella","biddle","bilalhaider","blueheaven","bobiecayao","bocaiwen","boyhaqi","brianchen","britt.the.ish","brnofre","calinconst","carlobelgado","cenai07","changkun","chelseanews","chinadaily","cjstewart1984","cnfund","cnjinbo","coinbitgold","coldhair","crypto.don","cryptomonitor","cryptopie","cryptoriddler","crystone","dan-wilson","daniellimcm","dapeng","davinger","deanliu","dimidrolshina","dixonloveart","dixydator","dolov","dreamcatchers","drrq","duckmast3r","dukekjams","dwightjaden","elements","ellocosaurus","eltooni","emonandels","epeakinfo","evgsk","excessivetravel","exploretraveler","firepower","fitexercise","fkofficials","followseveryone","fonnh","forthecraic","fractal","freethink","gabrieliusart","gamemusic","globaldoodlegems","go4it","gowldie","grildrig","hamzaoui","hannahwu","hansen7","harmonyhomestead","helene","hengist-horsa","hereforawhile","herlife","hiroyamagishi","hoof","hqfzone","htliao","iamnotageek","imagediet","imako","imash","infinitysci","initnas","instructor2121","iqbalbireuen","irishabstainer","irphotography","isacoin","ishaq","itissimple","izbing","jack8831","jacker","jackmiller","jetmirm","jezhead","jhenyen-17","joanaltres","johnnyray","jones420","joseburgos","joythewanderer","julee","junyi","kam.ila","kartikk","katythompson","kimamaxgreen","kingscoin","kingvelt","kinimusic26","kristiana","laboulangdexav","landeberg","lautenglye","ldn-undiscovered","ledygaga25","liangfengyouren","lifetech101","liflorence","lordgangler","lunaticenigma","luocj","lydiachan","lykencrypto","lynx","mac-gallery","machhour","madsweeney","madus","mady27","manosteel211","mardah.resonance","markd","mastergreen","maxer27","maxtill94","mikega","mikeshoman","mohammedfelahi","monalishabiswas","moneyminer","mouradb4","mrceebo","mydarlings2","mytamilabiz","nanosesame","nationalpark","nigelmarkdias","nollza","notonlyfood","notregme","ouba2","pakforex","peterchen145","physicfactor","phytonian","pistox","polyurethane","pqlenator","qipashuo","quintomudigo","quoteoftheday","raheelaslam111","rasool584","rdickey","reachfem24","reyes907","rivalhw","roba","robertolopez","robi8888","rodneyaspiras","rojo","ryan313","schlijk","sebcamtv","sergey44","shaheer001","shahzaib","sharebaby","showoff","siniceku","skyefox","sofiya","soi-green","sosolala","stacee","steem.engine","steemit1234","steemitph","steemlinks","sweety170","swssmarketing","sylviamiller","tarakki","team101","teddy7","the-housewife","the-mountain","thestar","thisjourney","tigerhite1","timelessvolcano","timknip","tinoe","tinoei","tonyboney","tumuta","tumutanzi","ulfr","vajola","vargapauline","victorialuxx","vsoutdoorsnaps","wanderwithtwo","whydowork","wiedy","worldwidetravel","xiaokongcom","xiobus","yangyang","ygern","yuxi","zainalabidin","zauberware","zero9","zeroshiki","zerozero777","zoef"]}

If $_GET parameter s is not specified, this API will use the $_POST variable url instead.

curl -X POST https://helloacm.com/api/steemit/who-has-not-voted/ -d "url=https://steemd.com/cn/@justyy/a-quick-tour-to-british-museum-the-british-are-not-returning-the-china-collections-to-china"

API Servers

You could use the following four servers:

 Originally Published in Steemit. Thank you for reading my post, feel free to FOLLOW and Upvote @justyy which motivates me to create more quality posts. 

原创首发 SteemIt, 非常感谢阅读, 欢迎FOLLOW和Upvote @justyy 能激励我创作更多更好的内容。 

近期热贴 

  1.  A Quick Tour to British Museum - The British are not returning the china collections to China! 大英博物馆的中国展区就是最好的爱国主义教育基地
  2.  The best way to travel to London? 怎么样去伦敦游玩更方便省钱?
  3. #Travel with me - Windsor Castle (Photography) 再访温莎城堡
  4. How to Convert/Transfer Steem or Steem Dollars (SBD) to Bitcoins? 小白教程 – 如何把 SBD或者STEEM转出到比特币钱包?
  5. Taking Kids to Cinema - My First Cinema Experience 带孩子到电影院看电影 
  6. The FIRST Steem Couple? SteemIt 上第一对公开秀恩爱的夫妻?

**** and... I am putting the source code on github  if this post reaches  500 votes! *******

 **** 500人点赞我就把代码放到 github 上,虽然没几行 LOL  ******* 

Sort:  

這太可怕了吧,都逼得我馬上要替你點贊了。

哈哈,多谢多谢。

这个工具好啊。如果可以自己输入一个好朋友名单然后看那个还没点赞就更好了。

多谢建议,我考虑考虑

i try it but i dont understand how to use it whats type in url and api @justyy

Just paste the URL you want to check and press enter

Amazing tool, thanks for sharing it

You are welcome. it would be great if you can re-steeem

期待进一步做成chrome扩展

我那视频下载的插件被下架了。。

书签小工具也很方便,比如:

javascript:location.href = 'https://uploadbeta.com/api/steemit/who-has-not-voted/?url=' + location.href;

怎么把JSON解析成网页我就不会了

很酷的工具~

多谢!

now we can't avoid not upvoting your posts hahaha just kidding~

hha'ha that is how it works!

程序猿出手,果然不同凡响。但是查这个除了增加隔阂之外还有什么意义呢……

果然增加隔阂 没卵用

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 54274.36
ETH 2279.16
USDT 1.00
SBD 2.33