Here in the script we had used instabot library and perform 5 features we logged in insta ,followed another account, upload a post , created a group chat , getting the followers list and unfollowing all the followers.
instabot
pip install instabot
Here for setup we just need to have a instagram account id and password and then give it in the script and then we can do any of the task