Print the output value of an array in twig [OctoberCMS]
<p>I have an array of values in my component and I want to output it in the default.htm my component is like this:</p>

<pre><code>  $settings = Settings::instance();
  $this-&gt;ogFbAdmins = $settings-&gt;str_og_fb_admins;
</code></pre>

<p>The ogFbAdmins is getting the values from an repeater field at the backend that field allows the user to create as many input boxes as he wants, I want to do something like a for each in php but on twig, if I output my array using this code:</p>

<pre><code>foreach ($this-&gt;ogFbAdmins as $adm) {
              echo $adm['str_og_fb_admins'];
            }
</code></pre>

<p>it returns this:</p>

<pre><code>admin1admin2
</code></pre>

<p>my twig code at my default.htm is like this:</p>

<pre><code>{% if __SELF__.ogFbAdmins == true %}
{% for ad in __SELF__.ogFbAdmins %}
{% if ad|length %}
  &lt;meta property="fb:admins" content="{{ ad }}" /&gt;
{% endif %}
{% endfor %}
{% endif %}
</code></pre>

<p>My this twig code returns an error</p>

<p>"An exception has been thrown during the rendering of a template ("Array to string conversion")."</p>

<p>In the end what I want it to return is this:</p>

<pre><code>&lt;meta property="fb:admins" content="admin1" /&gt;
&lt;meta property="fb:admins" content="admin2" /&gt;
</code></pre>

<p>Feel free to ask anything if you don't understand the question.</p>