<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Eugenio Camargo</title>
    <description>The latest articles on DEV Community by Eugenio Camargo (@eugenio_camargo).</description>
    <link>https://dev.to/eugenio_camargo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4166964%2Fd5d619c6-9b9c-4cf5-bea3-35761ab0778d.jpg</url>
      <title>DEV Community: Eugenio Camargo</title>
      <link>https://dev.to/eugenio_camargo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eugenio_camargo"/>
    <language>en</language>
    <item>
      <title>My Instagram mention monitoring kept breaking, so I automated it</title>
      <dc:creator>Eugenio Camargo</dc:creator>
      <pubDate>Tue, 06 Oct 2026 16:50:40 +0000</pubDate>
      <link>https://dev.to/eugenio_camargo/my-instagram-mention-monitoring-kept-breaking-so-i-automated-it-lg3</link>
      <guid>https://dev.to/eugenio_camargo/my-instagram-mention-monitoring-kept-breaking-so-i-automated-it-lg3</guid>
      <description>&lt;p&gt;I got tired of checking Instagram manually.&lt;/p&gt;

&lt;p&gt;This was for a small online store. We wanted to notice when someone tagged the account or mentioned it, mostly so those posts wouldn't just sit there unnoticed.&lt;/p&gt;

&lt;p&gt;At first, I thought this would be a pretty simple thing to automate.&lt;/p&gt;

&lt;p&gt;It wasn't.&lt;/p&gt;

&lt;p&gt;My first setup was a mixture of manual checking and some scraping. It worked for a while, then stopped working reliably. I'd come back to it, fix something, and eventually end up checking Instagram manually again.&lt;/p&gt;

&lt;p&gt;So I decided to stop trying to patch that setup and make the workflow much simpler.&lt;/p&gt;

&lt;p&gt;The workflow I ended up with is basically:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check for new Instagram activity.

&lt;ol&gt;
&lt;li&gt;Get the post/user data through an API.&lt;/li&gt;
&lt;li&gt;Compare it against the items I've already processed.&lt;/li&gt;
&lt;li&gt;Keep only the new stuff.&lt;/li&gt;
&lt;li&gt;Send those items to the next step of the workflow.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I'm using HikerAPI for the Instagram API part. The useful thing for my case was simply having REST endpoints I could call from the automation instead of maintaining the scraping code myself.&lt;/p&gt;

&lt;p&gt;A request looks roughly like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;x-access-key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;YOUR_KEY&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.hikerapi.com/v2/user/by/username?username=google&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;
&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.hikerapi.com/v2/user/stories&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user_id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;pk&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]},&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I'm still keeping the workflow pretty boring on purpose.&lt;/p&gt;

&lt;p&gt;The old setup had more moving parts than it needed. The new one is basically just &lt;strong&gt;fetch → check → filter → process&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That's been much easier to maintain.&lt;/p&gt;

&lt;p&gt;I'm interested in what other people here have automated around Instagram monitoring. What small repetitive task would you automate next?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
