termuxprofessor / insfollow

Best Tool for Increase Instagram Follower.
GNU General Public License v3.0
553 stars 120 forks source link

Modified increase_followers function to increase likes instead: #39

Open moderatedan opened 8 months ago

moderatedan commented 8 months ago

increase_likes() { printf "\n" printf " \e[1;77m[\e[0m\e[1;31m+\e[0m\e[1;77m] This technique consists of liking posts from celebgrams\e[0m\n" printf " \e[1;77m[\e[0m\e[1;31m+\e[0m\e[1;77m] It can increase your post likes\e[0m\n" printf " \e[1;77m[\e[0m\e[1;31m+\e[0m\e[1;77m]\e[0m\e[1;93m Press Ctrl + C to stop \e[0m\n" printf "\n" sleep 5

usernameid=$(curl -L -s 'https://www.instagram.com/'$user'' > getid && grep -o 'profilePage[0-9]*.' getid | cut -d "_" -f2 | tr -d '"')

if [[ ! -e celeb_id ]]; then printf " %s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" $dualipa $celebrity $mileycyrus $shawnmendes $katyperry $charlieputh $lelepons $camila_cabello $madonna $leonardodicaprio $ladygaga $taylorswift $instagram $neymar $selena $ariana $beyonce $professor $cristiano $kimkardashian $kendall $therock $kylie $jelopez $messi > celeb_id fi

while true; do for celeb in $(cat celeb_id); do data='{"_uuid":"'$guid'", "_uid":"'$username_id'", "user_id":"'$celeb'", "_csrftoken":"'$var2'"}' hmac=$(echo -n "$data" | openssl dgst -sha256 -hmac "${ig_sig}" | cut -d " " -f2) printf " \e[1;31m[\e[0m\e[1;77m+\e[0m\e[1;31m]\e[0m\e[1;93m Trying to like celebgram %s ..." $celeb

  check_like=$(curl -s -L -b cookie.$user -d "ig_sig_key_version=4&signed_body=$hmac.$data" -s --user-agent 'User-Agent: "Instagram 10.26.0 Android (18/4.3; 320dpi; 720x1280; Xiaomi; HM 1SW; armani; qcom; en_US)"' -w "\n%{http_code}\n" -H "$header" "https://i.instagram.com/api/v1/media/$celeb/like/" | grep -o '"status": "ok"')

  if [[ $check_like == "a" ]]; then
    printf " \n\e[1;31m [!] Error\n"
    printf " \e[1;33m [::] There is a problem with your Instagram account\n"
    printf " \e[1;31m [:] Reason\n"
    printf " \e[1;33m - You have reached today's liking limit on Instagram\n."
    printf " \e[1;33m - Your account is temporarily banned by Instagram\n"
    printf " \e[1;32m [:] Solution\n"
    printf " \e[1;33m - Don't like any posts on Instagram for 24 hours, then run the script again; it will work.\n"

    exit 1
  else
    printf " \e[1;92mSuccess\e[0m\n"
  fi
  sleep 3
done
printf " \e[1;31m[\e[0m\e[1;77m+\e[0m\e[1;31m]\e[0m\e[1;77m Sleeping 60 secs...\e[0m\n"
sleep 60

done } ``