marco97pa / Blackpink-Data

A Twitter bot that posts updates, pics, stats and news about BLACKPINK.
https://twitter.com/data_blackpink
MIT License
33 stars 13 forks source link

[Instagram] Unfollowers bug #11

Closed marco97pa closed 3 years ago

marco97pa commented 3 years ago

If a profile reaches a new million and then people start to unfollow it, the bot will post a lot of tweets. Example If something like this happens:

The bot will post 3 tweets (and 2 duplicates) in a short amount of time.

To avoid that we have two options:

marco97pa commented 3 years ago

Example:

@BLACKPINK #blinks #photo #pic


- **12:34 CET** https://github.com/marco97pa/Blackpink-Data/commit/810387a42013f1989ef79a440a783b64ef92f014
Input:

instagram: instagram: url: https://www.instagram.com/jennierubyjane/ url: https://www.instagram.com/jennierubyjane/ followers: 39999631 followers: 40000002

Runner: https://github.com/marco97pa/Blackpink-Data/runs/1926552921
Output:
[Tweet](https://twitter.com/data_blackpink/status/1362364744443842562?s=20)

JENNIE reached 40 million followers on #Instagram

@BLACKPINK #blinks #photo #pic