Skip to content

The Instagram Automation project is a Selenium-based automation tool that simplifies tasks on Instagram. It offers functions for logging in, searching, following/unfollowing, liking/unliking posts, extracting followers, checking stories, and analyzing user behavior.

Notifications You must be signed in to change notification settings

Aniketkkajania/InstagramAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

InstagramAutomation

PART1 The Instagram Automation it is an selenium automation project which include various functions with the help of which you can achieve automation without needing to do them manually.

HERE ARE THE LIST OF FUNCTIONS IN PART ONE OF INSTAGRAM AUTOMATION:

  1. LOGIN FUNCTION: first one is the login function using which you can easily log in to your instagram account by typing in your passwords and username.
  2. SEARCH QUERY FUNCTION: This function searches for the query that you gives it and returns the all the ig handles name that comes on after searching for the query.
  3. SEARCH USER FUNCTION: This function search for the instagram handle that you provide it and open its profile.
  4. FOLLOW UNFOLLOW FUNCTIONL: This function follows or unfollows the given instagram handle. if you are already following then a text will be displayed saying you're already following. and if you're not following it will follow the person or page that you mentions in function.
  5. LIKE UNLIKE POSTS: This function likes and unlikes the top 30 posts of the person or page, and if the user didn't have much posts then it will like all the remaining posts of the user. It takes two parameters user_name and "like" or "unlike".
  6. EXTRACT FOLLOWERS FUNCTION: This function extracts all the followers of a given user_name and returns it in a list.
  7. CHECK STORY FUNCTION: This function checks the story of given user_name and if you have already have seen the story it will return a text that you have already seen the story.

PART2 The Part 2 of automation contains the functions related to analyzing the behaviours of a user_handle.

HERE ARE THE LIST OF FUNCTIONS IN PART TWO OF INSTAGRAM AUTOMATION:

  1. FOLLOWERS COUNT FUNCTION: This function counts the number of followers of the top 5 user_names that comes on the screen when we search for the certain text in text field.
  2. POSTS COUNT FUNCTION: This function counts the number of posts the user have did in the past 3 days. You can modify the code as per your wish i have used 5 user_handles for this function to get the posts count of 5 users done in past 3 days. Instead of 5 just pass the one user_name.
  3. HASHTAGS FUNCTION: This function extracts the list of all hastags the user have used in his past 30 posts.
  4. hash_tags_count Function: This function just find how many times a user have used a particular hashtags extracted in previous function.
  5. Followers_likes Function: This function extracts the average likes of top 10 posts of the user along with the number of followers he/she have.

I Have plotted some insights from the data we extracted from the automation. Make Sure to check them out.

About

The Instagram Automation project is a Selenium-based automation tool that simplifies tasks on Instagram. It offers functions for logging in, searching, following/unfollowing, liking/unliking posts, extracting followers, checking stories, and analyzing user behavior.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published