Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
hadiyarajesh committed Jul 25, 2020
2 parents 5760117 + d07d5fa commit 8ae4b7e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Initialize InstagramBot class with your username and password and call prepare m
val password = "your_password"
val bot = InstagramBot()
bot.prepare(username, password)
bot.login()
bot.prepare(username)
bot.login(username, password)
```
Now you can perform any operations of your choice.
```
bot.getExploreTabMedias(7).collect { println(it) }
bot.likeHashTagMedias("cat", 5).collect { println(it) }
bot.commentHashTagMedias("cat", "This is an exmaple of nice comment",5).collect { println(it) }
bot.likeMediasByExplorePage(5).collect { println(it) }
bot.commentMediasByHashTag("hashtag_name", listOf("Comment1", "Comment2"), 5).collect { println(it) }
bot.watchLocationUsersStories("location_name", 200).collect { println(it) }
```

For more details, refer [BotTest](https://github.com/hadiarajesh/insta-bot/blob/master/src/main/kotlin/BotTest.kt) file.
Expand Down

0 comments on commit 8ae4b7e

Please sign in to comment.