Skip to content

Instantly share code, notes, and snippets.

View devlopersabbir's full-sized avatar
🏠
Working from home

Sabbir Hossain Shuvo devlopersabbir

🏠
Working from home
View GitHub Profile
@devlopersabbir
devlopersabbir / index.js
Last active December 4, 2024 16:42
brevo-mail-send
// type must be (modue)
import * as Brevo from "@getbrevo/brevo";
import express from "express";
const api_key = "YOUR_API_KEY_HERE";
const client = new Brevo.TransactionalEmailsApi();
client.setApiKey(0, api_key);
const sendSmtpEmail = new Brevo.SendSmtpEmail();
sendSmtpEmail["subject"] = "this is subject";
sendSmtpEmail["htmlContent"] =
@devlopersabbir
devlopersabbir / Instagram-unfollow-js-script.js
Last active December 4, 2024 16:36
Instagram unfollowing bot. It is very simple and straightforward. I have used a very simple script here which you can easily master. I've made it so easy that anyone can do it on their own once they see it, which means they can create bots for Instagram.🤗
setInterval(async function unfollow() {
const unfollowbuttons = document.getElementsByClassName(
"_acan _acap _acat _aj1- _ap30"
);
let index = 0;
if (unfollowbuttons.length <= index) return;
unfollowbuttons[index].click();
new Promise((resolve, _reject) => setInterval(resolve, 2000));