Instagram Hashtag Count

Hello,

I'm trying to create a simple script to pull the number of posts/media for a hashtag on Instagram. Currently I'm trying to pull it from the ink361 website. For example "http://ink361.com/app/tag/Instagram"

I'm trying the following but and need some help with the syntax.
=xpathonurl("http://ink361.com/app/tag/Instagram","//div[@class="stats"])

Is there an easier way to do this as well?

Try

=XPathOnUrl("http://ink361.com/app/tag/Instagram","//span[@id='mediaCount']")

Thanks so much for help out. I tried it and the following but can't seem to get it to run.

=XPathOnUrl("http://ink361.com/app/tag/Instagram/","*[@id='mediaCount']")

I see now that the page is build using javascript (look at view source and try to locate the number). Simple webscraping for this website won't work.

I've created a PhantomJs Cloud connector that I will ship with 5.1 that solves this:

5.1 is now shipped so you can try this now.

1 Like