Monitor instagram

Hi,
is it possible to monitor instagram number of followers and following?

The browser extension can monitor any page that you can open locally in your browser including Instagram. I haven’t personally tried it though. What challenge did you face when monitoring it? For example, did it work initially but started erroring out with SELECTION_EMPTY error later?

i’m not trying to monitor for followers… just for new posts and i do get a selection_empty error.

Autogenerated selectors are unstable for Instagram. You can try the following XPath selector to monitor the follower count of a profile.

//span[contains(text(),'followers')]

To monitor for new posts, you can use the following XPath selector:

(//a[contains(@href, '/reel/') or contains(@href, '/p/')])[position() <= 4]

You need to select the href attribute along with the default text as shown below. This will ensure that the link of the post is monitored.

The above XPath selector selects 4 recent posts of a profile. You can update the index [in positions()<=4] as per your requirement.