Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [=] Endpoint :
- [*] Likes :
- https://api-rl.fadhiilrachman.id/[USERNAME_IG/USERID_IG]/likes
- ! Ganti [USERNAME_IG/USERID_IG] menjadi username instagram anda
- [*] Follow :
- https://api-rl.fadhiilrachman.id/[USERNAME_IG/USERID_IG]/follow
- ! Ganti [USERNAME_IG/USERID_IG] menjadi username instagram anda
- [=] Parameter :
- > limit => jumlah worker yg akan di proses
- ! ket : jika tidak ada param limit maka akan unlimited.
- > returnType => tipe data hasil yg akan ditampilkan
- ! ket : jika tidak ada param returnType maka otomatis pilih html.
- Parameternya adalah sbb :
- - html (default)
- - json
- - debug
- - debug_json
- [=] Contoh :
- https://api-rl.fadhiilrachman.id/dagelan/follow?limit=1&returnType=debug_json
- [=] Script buat set ke cronjob google script :
- [-------------------------------------------------------------]
- function likes_royalLikes() {
- // Perhatian !! hanya USERNAME_INSTAGRAM diubah menjadi username ig anda dan angka 1 utk limit, tulis 0 utk unlimited
- var username = "USERNAME_INSTAGRAM", limit = "1",
- opt = {
- "method": "GET",
- "payload": {
- },
- "muteHttpExceptions": true,
- "followRedirects" : true,
- };
- UrlFetchApp.fetch('https'+'://api-rl.fadhiilrachman'+'.id/'+username+'/likes?limit='+limit+'&returnType=json',opt);
- }
- [-------------------------------------------------------------]
- function follow_royalLikes() {
- // Perhatian !! hanya USERNAME_INSTAGRAM diubah menjadi username ig anda dan angka 1 utk limit, tulis 0 utk unlimited
- var username = "USERNAME_INSTAGRAM", limit = "1",
- opt = {
- "method": "GET",
- "payload": {
- },
- "muteHttpExceptions": true,
- "followRedirects" : true,
- };
- UrlFetchApp.fetch('https'+'://api-rl.fadhiilrachman'+'.id/'+username+'/follow?limit='+limit+'&returnType=json',opt);
- }
- [-------------------------------------------------------------]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement