<?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: Jacky Tan</title>
    <description>The latest articles on DEV Community by Jacky Tan (@imbktan).</description>
    <link>https://dev.to/imbktan</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F600496%2Fca6d0723-b3ff-4d8f-82cd-89aa741d1a28.png</url>
      <title>DEV Community: Jacky Tan</title>
      <link>https://dev.to/imbktan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/imbktan"/>
    <language>en</language>
    <item>
      <title>How I grow my Instagram account with consistent Instagram posts</title>
      <dc:creator>Jacky Tan</dc:creator>
      <pubDate>Sat, 20 Mar 2021 12:36:27 +0000</pubDate>
      <link>https://dev.to/imbktan/how-i-grow-my-instagram-account-with-consistent-instagram-posts-1mm6</link>
      <guid>https://dev.to/imbktan/how-i-grow-my-instagram-account-with-consistent-instagram-posts-1mm6</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--tgsLl_Zv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qa85fvvtpokqfzq0p6nf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--tgsLl_Zv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qa85fvvtpokqfzq0p6nf.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Ever wonder how some of the Instagramers able to keep a consistent content calendar? Essentially, they are using Canvas for designs, Later, Buffer, or HootSuite to schedule the posts - manually crafting the content.&lt;/p&gt;

&lt;p&gt;Good thing there are APIs to generate Instagram posts for this.&lt;/p&gt;

&lt;p&gt;I'm the founder of &lt;a href="https://apitemplate.io"&gt;APITemplate.io&lt;/a&gt; - Saas services that auto-generate images and PDFs with a simple API or with Zapier or Integromat. You can find the &lt;a href="https://docs.apitemplate.io/reference/api-reference.html#introduction"&gt;APITemplate.io API Reference&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is an experimental project to try out the idea that whether I can grow a new Instagram account with consistent Instagram posts. &lt;/p&gt;

&lt;p&gt;The idea is to eat my own dog food - it forces me to design my product in the eye of designers and also improve the quality and usability of the product at the same time.&lt;/p&gt;

&lt;p&gt;Eventually, I grow the Instagram account to 1.2k subscribers within 3 months with minimal effort and just an Airtable for text content also a reusable image template.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gryJc2Sx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/160x2g13qyjba5hh4soj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gryJc2Sx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/160x2g13qyjba5hh4soj.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The lessons learned
&lt;/h1&gt;

&lt;h2&gt;
  
  
  (i) Content generation takes time
&lt;/h2&gt;

&lt;p&gt;You may become across the phrase "Content is king". However, the majority of people think that it should happen by magic. Unfortunately, creating content takes time and commitment to create visual or written content.&lt;/p&gt;

&lt;h2&gt;
  
  
  (ii) Consistency is the Key to Success
&lt;/h2&gt;

&lt;p&gt;Consistency is key to success in social media marketing. You must be consistent in order for your audience to recognize your brand. Staying consistent in your brand helps you to grow in audience engagement and reach.&lt;/p&gt;

&lt;p&gt;Posting Instagram posts at random and haphazard times is not going to help you to grow your brand. You are lucky to attract users in the beginning, but the initial traction is not going to last if there ain't any good content.&lt;/p&gt;

&lt;h1&gt;
  
  
  The Implementation
&lt;/h1&gt;

&lt;p&gt;In the first version, I was using Python and Puppeteer to build the workflow to generate Instagram posts. It ran smooth for a month or two, then I encountered various issues. Eventually, I made a switch over from Python to the NoCode way, which offers better stability.&lt;/p&gt;

&lt;h2&gt;
  
  
  (1) The Python way to create images
&lt;/h2&gt;

&lt;h3&gt;
  
  
  The prerequisites
&lt;/h3&gt;

&lt;p&gt;Register an account with APITemplate.io and make sure you are using a business, creator account&lt;/p&gt;

&lt;h3&gt;
  
  
  The Python Code to Generate Instagram Content
&lt;/h3&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="nn"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;main&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"6fa6g2pdXGIyxHRhVlGh7U5Vhdckt"&lt;/span&gt;
    &lt;span class="n"&gt;template_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;"79667b2b1876e347"&lt;/span&gt;

    &lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"The greatest glory in living lies not in never falling"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s"&gt;"author"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"Nelson Mandela"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="n"&gt;response&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="n"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="sa"&gt;F&lt;/span&gt;&lt;span class="s"&gt;"https://api.apitemplate.io/v1/create?template_id=&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;template_id&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&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="p"&gt;{&lt;/span&gt;&lt;span class="s"&gt;"X-API-KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sa"&gt;F&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;"&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s"&gt;"__main__"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The JSON response&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"download_url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"https://bucket.s3.amazonaws.com/91f62769-69e4-48bf.jpeg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"template_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"cd890b2b199c5c42"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"transaction_ref"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"28f37353-69e4-48bf-b890-7a01c3a57e48"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
   &lt;/span&gt;&lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"success"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The next step is to post the image to Instagram. If you own a non-business account, the only way now is to use Puppeteer to post the image &lt;a href="https://github.com/transitive-bullshit/puppeteer-instagram"&gt;https://github.com/transitive-bullshit/puppeteer-instagram&lt;/a&gt;. You might encounter various issues with using Puppeteer.&lt;/p&gt;

&lt;p&gt;There are some posts on &lt;a href="https://stackoverflow.com/questions/62293200/upload-images-to-instagram-using-python"&gt;stackoverflow&lt;/a&gt; using different libraries for Instagram posting. I tried some of it and ran into different issues.&lt;/p&gt;

&lt;p&gt;In order to cut the hassle, it is better to use NoCode platforms such as Zapier or Integromat to post the images on behalf of you.&lt;/p&gt;

&lt;h2&gt;
  
  
  (2) NoCode Way
&lt;/h2&gt;

&lt;p&gt;The tutorials of using Zapier or Integromat as follows:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apitemplate.io/automate-social-media-image-generation-with-zapier-and-apitemplate-step-by-step/"&gt;Automate Image Generation with Zapier&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://apitemplate.io/blog/integromat-save-time-and-boost-engagement-by-scheduling-and-automating-social-content-generation/"&gt;Automate Image Generation with Integromat&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;In the tutorial, I walked you through the process of image generation with Python and also offer the NoCode solution.&lt;/p&gt;

&lt;p&gt;Automating the tedious workflow can free up your time and you can focus on other crucial and creative work, APITemplate.io can be the solution in your digital marketing toolbox.&lt;/p&gt;

</description>
      <category>python</category>
      <category>nocode</category>
      <category>api</category>
    </item>
  </channel>
</rss>
